aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
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