From fb9ad099e2b79dc0c724255e5c1f5d8be3576af1 Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Tue, 26 May 2015 00:09:42 -0500 Subject: [PATCH] make curl call in getlib.sh follow 301 redirects --- build/getlib.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/getlib.sh.in b/build/getlib.sh.in index f18ec1da2d..ca90111368 100755 --- a/build/getlib.sh.in +++ b/build/getlib.sh.in @@ -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