aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r--trunk/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 2059e34..a531037 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -793,7 +793,7 @@ function update_md5_checksum {
else
# remove the old entry and add a new one
sed -i "/ \.*\/*$(regexp_slash $file)$/d" CHECKSUMS.md5
- file="`echo $file | sed -e 's/\.*\/*//'`"
+ file="`echo $file | sed -e 's/\.*\/*//'`" # remove additional ./
md5sum ./$file >> CHECKSUMS.md5
fi