aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 20:26:44 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 20:26:44 +0000
commit424d255a67875ce5fe8a39696ec2d9dfe08882f8 (patch)
treef5b21743b3574e9778e27459b99440f07411d92d /trunk
parentbe95baed1c9f7088840dda2473c41f0bf0b9bacb (diff)
downloadsimplepkg-424d255a67875ce5fe8a39696ec2d9dfe08882f8.tar.gz
simplepkg-424d255a67875ce5fe8a39696ec2d9dfe08882f8.tar.bz2
fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@552 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r--trunk/lib/common.sh2
-rw-r--r--trunk/src/createpkg2
2 files changed, 2 insertions, 2 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 2059e34..a531037 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -793,7 +793,7 @@ function update_md5_checksum {
else
# remove the old entry and add a new one
sed -i "/ \.*\/*$(regexp_slash $file)$/d" CHECKSUMS.md5
- file="`echo $file | sed -e 's/\.*\/*//'`"
+ file="`echo $file | sed -e 's/\.*\/*//'`" # remove additional ./
md5sum ./$file >> CHECKSUMS.md5
fi
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index a05c774..549e98f 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -617,7 +617,7 @@ fi
SUBFOLDER="`echo $NEW_REPOS | sed -e "s/^$(regexp_slash $MAKEPKG_REPOS)//"`"
update_md5_checksum $MAKEPKG_REPOS $SUBFOLDER/$PKG_NAME
- gen_meta $SUBFOLDER/$PKG_NAME
+ gen_meta ./$SUBFOLDER/$PKG_NAME
# update md5 file from patches/ folder if needed
for file in `find patches/ -name "$PACKAGE-*-*-*.tgz"`; do