wget: Use --no-passive-ftp, helps with firewalls.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 1 Jul 2010 00:30:16 +0000 (02:30 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 1 Jul 2010 00:42:58 +0000 (02:42 +0200)
This is tested to work better in at least one firewalled environment. YMMV.

summon-arm-toolchain

index 7977d8d..7606fac 100755 (executable)
@@ -57,7 +57,7 @@ echo "Downloading gcc sources..."
 wget -c http://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2
 
 echo "Downloading newlib sources..."
-wget -c ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
+wget -c --no-passive-ftp ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
 
 echo "Downloading gdb sources..."
 wget -c http://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2