projects
/
summon-arm-toolchain.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b7e245
)
only check SHA1 sums for files we're using
author
Matthias Rampke
<matthias@rampke.de>
Sun, 14 Aug 2011 00:38:22 +0000
(
02:38
+0200)
committer
Matthias Rampke
<matthias@rampke.de>
Sun, 14 Aug 2011 00:38:22 +0000
(
02:38
+0200)
summon-arm-toolchain
patch
|
blob
|
history
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
- ( 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