From: Ken Rice Date: Tue, 26 May 2015 05:09:42 +0000 (-0500) Subject: make curl call in getlib.sh follow 301 redirects X-Git-Tag: v1.4.19~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb9ad099e2b79dc0c724255e5c1f5d8be3576af1;p=thirdparty%2Ffreeswitch.git make curl call in getlib.sh follow 301 redirects --- diff --git a/build/getlib.sh.in b/build/getlib.sh.in index f18ec1da2d..ca90111368 100755 --- a/build/getlib.sh.in +++ b/build/getlib.sh.in @@ -11,7 +11,7 @@ CURL=@CURL@ if [ -f "$WGET" ]; then DOWNLOAD_CMD=$WGET elif [ -f "$CURL" ]; then - DOWNLOAD_CMD="$CURL -O" + DOWNLOAD_CMD="$CURL -L -O" fi if [ -n "`echo $1 | grep '://'`" ]; then