From 7c1d5a1d69bd7dacab024a7c0f6d259bb2c69d59 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 20 Jan 2014 15:59:40 +0000 Subject: [PATCH] mingw-fetch-dependencies: Add the -L option when using curl The -L option makes curl follow redirections. This is needed for downloading glext.h because khronos.org is using a redirect. Reviewed-by: Robert Bragg (cherry picked from commit 85baaef4a4f4fd3a03c7c9f05002eae483ddd6b3) --- build/mingw/mingw-fetch-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh index 3014b300e..6544bfe07 100755 --- a/build/mingw/mingw-fetch-dependencies.sh +++ b/build/mingw/mingw-fetch-dependencies.sh @@ -52,7 +52,7 @@ function download_file () case "$DOWNLOAD_PROG" in curl) - curl -o "$DOWNLOAD_DIR/$filename" "$url"; + curl -L -o "$DOWNLOAD_DIR/$filename" "$url"; ;; *) $DOWNLOAD_PROG -O "$DOWNLOAD_DIR/$filename" "$url";