forked from Mirrors/freeswitch
FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts
This commit is contained in:
parent
fb9ad099e2
commit
87f61009d7
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue