diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-01 12:24:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-01 12:24:40 +0000 |
commit | 828d8a7e1634042292458fa6aa741fdad3c2adb2 (patch) | |
tree | 17712a2d735016ad61e2668b4a8d8545d4fd93de /abuild.in | |
parent | 701be9224ce79189db3f9c3d503cc7d8dfcd108b (diff) | |
download | abuild-828d8a7e1634042292458fa6aa741fdad3c2adb2.tar.gz abuild-828d8a7e1634042292458fa6aa741fdad3c2adb2.tar.bz2 abuild-828d8a7e1634042292458fa6aa741fdad3c2adb2.tar.xz abuild-828d8a7e1634042292458fa6aa741fdad3c2adb2.zip |
abuild: always fail when checksums does not match
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |