]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 01:40:21 +0000 (01:40 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 01:40:21 +0000 (01:40 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@576 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh
trunk/src/createpkg

index df423323f121b24b8ec13d4cddf1d541cc6c2f50..07954c33f7f8840aeb74988265777e101b1b0077 100644 (file)
@@ -601,6 +601,7 @@ function svn_copy {
     cwd="`pwd`"
     cd `dirname $dest`
     svn_add `basename $dest`
+    cd $cwd
   fi
 
 }
index 2e4d087757b3c370e917491190d5a7a598dec0a2..81a1a70f89e5e64c73d35acd238fdb23fe4f46c2 100644 (file)
@@ -622,11 +622,12 @@ fi
 (
 
   cd $MAKEPKG_REPOS
-  gen_filelist
-  gen_patches_filelist patches
 
   SUBFOLDER="`echo $NEW_REPOS | sed -e "s/^$(regexp_slash $MAKEPKG_REPOS/)//"`"
   gen_meta $SUBFOLDER/$PKG_NAME
+
+  gen_filelist
+  gen_patches_filelist patches
   update_md5_checksum $MAKEPKG_REPOS $SUBFOLDER/$PKG_NAME
 
   # update md5 file from patches/ folder if needed