From 87f61009d7820a717dfb48a28010a5c0da720801 Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Tue, 26 May 2015 09:13:13 -0500 Subject: [PATCH] FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts --- build/getg729.sh.in | 2 +- build/getsounds.sh.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/