aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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