]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts
authorKen Rice <krice@freeswitch.org>
Tue, 26 May 2015 14:13:13 +0000 (09:13 -0500)
committerKen Rice <krice@freeswitch.org>
Tue, 26 May 2015 14:14:30 +0000 (09:14 -0500)
build/getg729.sh.in
build/getsounds.sh.in

index c8a72274252976171dc8d9ead3a8f8702bd02933..d37ac1f47ed5c729fb61d0baa4aa1bb279122c2f 100755 (executable)
@@ -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
 
index 3f14eab822857440bbffdc18f967201c55a30181..309d10bfea59152aee755670024d5b25e894f5f1 100755 (executable)
@@ -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/