From 424d255a67875ce5fe8a39696ec2d9dfe08882f8 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 27 Nov 2008 20:26:44 +0000 Subject: fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@552 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 2 +- trunk/src/createpkg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'trunk') 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 -- cgit v1.2.3