diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-27 20:13:28 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-27 20:13:28 +0000 |
commit | da801f1272e8ca3e7f3333cdf32550b68696400d (patch) | |
tree | ebbd927942e03da912a114df04d36d94feda5871 | |
parent | 81c2c0ef6e6223349a07d26f420dcc140f0337de (diff) | |
download | simplepkg-da801f1272e8ca3e7f3333cdf32550b68696400d.tar.gz simplepkg-da801f1272e8ca3e7f3333cdf32550b68696400d.tar.bz2 |
fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@548 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r-- | trunk/lib/common.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |