projects
/
summon-arm-toolchain.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only check SHA1 sums for files we're using
[summon-arm-toolchain.git]
/
summon-arm-toolchain
diff --git
a/summon-arm-toolchain
b/summon-arm-toolchain
index 7ede3599254c5bf4d13b3040774ad0a69d2591e0..3cd8aee266295066c4cc0904d367151d8c9641ff 100755
(executable)
--- 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
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
else
log "WARING: skipping checksum checks due to missing sha1sum"
fi