X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=summon-arm-toolchain.git;a=blobdiff_plain;f=summon-arm-toolchain;fp=summon-arm-toolchain;h=3cd8aee266295066c4cc0904d367151d8c9641ff;hp=7ede3599254c5bf4d13b3040774ad0a69d2591e0;hb=3824a554ef65530578be2e195a84cc7020e46e60;hpb=9b7e24539e8bd9ce212bf56fcbfed02cf49edd05 diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 7ede359..3cd8aee 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -207,7 +207,9 @@ fetch ${MPFR} http://www.mpfr.org/${MPFR}/${MPFR}.tar.bz2 fetch ${MPC} http://www.multiprecision.org/mpc/download/${MPC}.tar.gz if which sha1sum > /dev/null; then - ( echo "$SHA1SUMS" | sha1sum -c - ) || ( log 'ERROR: Checksum fail!'; exit 1 ) + for f in ${BINUTILS} ${GCC} ${NEWLIB} ${GDB} ${GMP} ${MPFR} ${MPC}; do + ( echo "$SHA1SUMS" | grep -F $f | sha1sum -c - ) || ( log 'ERROR: Checksum fail!'; exit 1 ) + done else log "WARING: skipping checksum checks due to missing sha1sum" fi