]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 20:26:44 +0000 (20:26 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 20:26:44 +0000 (20:26 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@552 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh
trunk/src/createpkg

index 2059e34bc6c96181a21b304c2efdb2433c75b22b..a5310378b790158eb002a6b070385d07c4a0d26c 100644 (file)
@@ -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
 
index a05c774b6931747b3ada4be84ad9874da5fb254d..549e98f2000ced459f172814dc23aa9e0f735a9d 100644 (file)
@@ -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