aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 01:40:21 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 01:40:21 +0000
commit3896f087f2db87e5e3dcce073e99f6780a336d6e (patch)
tree784819e3498d432e82c038ce643162e6a1852d46
parent861e6e15b6b2e07faa7ffe7d7b4cd2c10a1debd8 (diff)
downloadsimplepkg-3896f087f2db87e5e3dcce073e99f6780a336d6e.tar.gz
simplepkg-3896f087f2db87e5e3dcce073e99f6780a336d6e.tar.bz2
fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@576 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/lib/common.sh1
-rw-r--r--trunk/src/createpkg5
2 files changed, 4 insertions, 2 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index df42332..07954c3 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -601,6 +601,7 @@ function svn_copy {
cwd="`pwd`"
cd `dirname $dest`
svn_add `basename $dest`
+ cd $cwd
fi
}
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 2e4d087..81a1a70 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -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