From da801f1272e8ca3e7f3333cdf32550b68696400d Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 27 Nov 2008 20:13:28 +0000 Subject: fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@548 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'trunk/lib') diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 8ff4eb2..3c0766c 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -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 -- cgit v1.2.3