mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-21 11:32:51 +00:00
make curl call in getlib.sh follow 301 redirects
This commit is contained in:
parent
861c4e9c47
commit
fb9ad099e2
@ -11,7 +11,7 @@ CURL=@CURL@
|
|||||||
if [ -f "$WGET" ]; then
|
if [ -f "$WGET" ]; then
|
||||||
DOWNLOAD_CMD=$WGET
|
DOWNLOAD_CMD=$WGET
|
||||||
elif [ -f "$CURL" ]; then
|
elif [ -f "$CURL" ]; then
|
||||||
DOWNLOAD_CMD="$CURL -O"
|
DOWNLOAD_CMD="$CURL -L -O"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "`echo $1 | grep '://'`" ]; then
|
if [ -n "`echo $1 | grep '://'`" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user