Merge branch '2.7'

This commit is contained in:
Natanael Copa 2011-04-01 13:39:23 +00:00
commit 62a87c97fb

View File

@ -177,13 +177,13 @@ md5check() {
origin=$1; shift
echo "$src" | md5sum -c
if [ $? -ne 0 ]; then
endreturnval=1
is_remote $origin || continue
echo "Because the remote file above failed the md5sum check it will be deleted."
echo "Rebuilding will cause it to re-download which in some cases may fix the problem."
file=`echo "$src" | sed 's/.*[ \t\n]\(.*\)/\1/'`
echo "Deleting: $file"
rm $file
endreturnval=1
fi
done
unset IFS