From: Ken Rice Date: Tue, 26 May 2015 14:13:13 +0000 (-0500) Subject: FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts X-Git-Tag: v1.4.19~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87f61009d7820a717dfb48a28010a5c0da720801;p=thirdparty%2Ffreeswitch.git FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts --- diff --git a/build/getg729.sh.in b/build/getg729.sh.in index c8a7227425..d37ac1f47e 100755 --- a/build/getg729.sh.in +++ b/build/getg729.sh.in @@ -9,7 +9,7 @@ if [ -f "$WGET" ] ; then DOWNLOAD_CMD=$WGET else if [ -f "$CURL" ] ; then - DOWNLOAD_CMD="$CURL -O" + DOWNLOAD_CMD="$CURL -L -O" fi fi diff --git a/build/getsounds.sh.in b/build/getsounds.sh.in index 3f14eab822..309d10bfea 100755 --- a/build/getsounds.sh.in +++ b/build/getsounds.sh.in @@ -12,7 +12,7 @@ if [ -x "$WGET" ]; then DOWNLOAD_CMD=$WGET fi if [ "x${DOWNLOAD_CMD}" = "x" -a -x "$CURL" ] ; then - DOWNLOAD_CMD="$CURL -O" + DOWNLOAD_CMD="$CURL -L -O" fi base=http://files.freeswitch.org/