From 3896f087f2db87e5e3dcce073e99f6780a336d6e Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 28 Nov 2008 01:40:21 +0000 Subject: fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@576 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 1 + trunk/src/createpkg | 5 +++-- 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 -- cgit v1.2.3