curl instead of wget.

This commit is contained in:
Ben Vanik 2014-10-15 20:20:25 -07:00
parent f3a196c02f
commit 0cefbbab08
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ SNAPSHOT_FILE=binutils-$SNAPSHOT_VERSION.tar.gz
if [ ! -f $SNAPSHOT_FILE ]; then if [ ! -f $SNAPSHOT_FILE ]; then
echo "" echo ""
echo "Grabbing binutils snapshot $SNAPSHOT_FILE..." echo "Grabbing binutils snapshot $SNAPSHOT_FILE..."
wget -nv http://mirrors.kernel.org/sourceware/binutils/releases/$SNAPSHOT_FILE curl -nv http://mirrors.kernel.org/sourceware/binutils/releases/$SNAPSHOT_FILE > $SNAPSHOT_FILE
else else
echo "" echo ""
echo "Reusing existing binutils snapshot file $SNAPSHOT_FILE..." echo "Reusing existing binutils snapshot file $SNAPSHOT_FILE..."