summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-01 13:39:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-01 13:39:23 +0000
commit62a87c97fb32277b99343fe27e5f1de0f895d3c0 (patch)
tree3b02406ee187bf0a3f5b1de84ad0c3a9c0d1348b /abuild.in
parent3f055e6f68d10484015bd79c4f92c7873edfa2c8 (diff)
parent828d8a7e1634042292458fa6aa741fdad3c2adb2 (diff)
downloadabuild-62a87c97fb32277b99343fe27e5f1de0f895d3c0.tar.gz
abuild-62a87c97fb32277b99343fe27e5f1de0f895d3c0.tar.bz2
abuild-62a87c97fb32277b99343fe27e5f1de0f895d3c0.tar.xz
abuild-62a87c97fb32277b99343fe27e5f1de0f895d3c0.zip
Merge branch '2.7'
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 736826e..178fe42 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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