aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 20:13:28 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 20:13:28 +0000
commitda801f1272e8ca3e7f3333cdf32550b68696400d (patch)
treeebbd927942e03da912a114df04d36d94feda5871
parent81c2c0ef6e6223349a07d26f420dcc140f0337de (diff)
downloadsimplepkg-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.sh3
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