1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--- build/getlib.sh.in +++ build/getlib.sh.in @@ -8,10 +8,10 @@ XZ=@XZ@ WGET=@WGET@ CURL=@CURL@ -if [ -f "$WGET" ]; then - DOWNLOAD_CMD=$WGET -elif [ -f "$CURL" ]; then +if [ -f "$CURL" ]; then DOWNLOAD_CMD="$CURL -O" +elif [ -f "$WGET" ]; then + DOWNLOAD_CMD=$WGET fi if [ -n "`echo $1 | grep '://'`" ]; then