aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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