From 328a4523a5a2f6e0fcb6bbaef938bc48cce9060c Mon Sep 17 00:00:00 2001 From: Kshitij Bansal Date: Mon, 16 Feb 2015 01:54:27 -0500 Subject: [PATCH] webget: curl follow redirect --- contrib/win32-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/win32-build b/contrib/win32-build index 45c9dfa54..290d537eb 100755 --- a/contrib/win32-build +++ b/contrib/win32-build @@ -40,7 +40,7 @@ function reporterror { function webget { if which curl &>/dev/null; then - curl "$1" >"$2" + curl -L "$1" >"$2" elif which wget &>/dev/null; then wget -c -O "$2" "$1" else -- 2.30.2