mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-12-19 03:37:46 +00:00
FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts
This commit is contained 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
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user