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/