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

trunk/lib/common.sh

index 8ff4eb2342fb115d30c815bd43980c2af398b050..3c0766c1a5b2c5f1b82716d476ecdc7c3415940a 100644 (file)
@@ -788,6 +788,9 @@ function update_md5_checksum {
   if ! echo $2 | grep -q -e "^\.\/"; then
     # add ./ in front of the file name
     file="./$1"
+  elif ! echo $2 | grep -q -e "^\."; then
+    # add . in front of the file name
+    file=".$1"
   else
     file="$1"
   fi