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:
5861496
)
Fix wget invokation so that restarting downloads via -c works.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 1 Oct 2009 19:43:01 +0000
(21:43 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 1 Oct 2009 19:43:01 +0000
(21:43 +0200)
summon-arm-toolchain
patch
|
blob
|
history
diff --git
a/summon-arm-toolchain
b/summon-arm-toolchain
index 213918223fea0ba1992e865fe40a21bda714ca11..95da9dbc3ab346f07b08fdbcef3ec71e7f26b496 100755
(executable)
--- a/
summon-arm-toolchain
+++ b/
summon-arm-toolchain
@@
-44,25
+44,18
@@
if [ ! -e sources ]; then
fi
cd sources
fi
cd sources
-if [ ! -e ${BINUTILS}.tar.bz2 ]; then
- echo "Downloading binutils sources..."
- wget -c http://ftp.gnu.org/gnu/binutils/${BINUTILS}.tar.bz2
-fi
-if [ ! -e ${GCC}.tar.bz2 ]; then
- echo "Downloading gcc sources..."
- wget -c ftp://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2
-fi
+echo "Downloading binutils sources..."
+wget -c http://ftp.gnu.org/gnu/binutils/${BINUTILS}.tar.bz2
-if [ ! -e ${NEWLIB}.tar.gz ]; then
- echo "Downloading newlib sources..."
- wget -c ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
-fi
+echo "Downloading gcc sources..."
+wget -c ftp://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2
-if [ ! -e ${GDB}.tar.bz2 ]; then
- echo "Downloading gdb sources..."
- wget -c ftp://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2
-fi
+echo "Downloading newlib sources..."
+wget -c ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
+
+echo "Downloading gdb sources..."
+wget -c ftp://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2
if [ ${LIBSTM32_EN} != 0 ]; then
if [ ! -e libcmsis-${LIBCMSIS}.tar.bz2 ]; then
if [ ${LIBSTM32_EN} != 0 ]; then
if [ ! -e libcmsis-${LIBCMSIS}.tar.bz2 ]; then