]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make curl call in getlib.sh follow 301 redirects
authorKen Rice <krice@freeswitch.org>
Tue, 26 May 2015 05:09:42 +0000 (00:09 -0500)
committerKen Rice <krice@freeswitch.org>
Tue, 26 May 2015 05:09:42 +0000 (00:09 -0500)
build/getlib.sh.in

index f18ec1da2d10b3a42d917850f153f1391d84d1ef..ca9011136874f6ee73bbed346ce3423c5a86fefd 100755 (executable)
@@ -11,7 +11,7 @@ CURL=@CURL@
 if [ -f "$WGET" ]; then
   DOWNLOAD_CMD=$WGET
 elif [ -f "$CURL" ]; then
-  DOWNLOAD_CMD="$CURL -O"
+  DOWNLOAD_CMD="$CURL -L -O"
 fi
 
 if [ -n "`echo $1 | grep '://'`" ]; then