make curl call in getlib.sh follow 301 redirects

This commit is contained in:
Ken Rice 2015-05-26 00:09:42 -05:00
parent 861c4e9c47
commit fb9ad099e2
1 changed files with 1 additions and 1 deletions

View File

@ -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