summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2014-01-20 15:59:40 +0000
committerNeil Roberts <neil@linux.intel.com>2014-01-20 16:39:17 +0000
commit85baaef4a4f4fd3a03c7c9f05002eae483ddd6b3 (patch)
treed6ee19469d61873b203bfd7a9eefb7744b1d1af1
parent91af97a2a27ab5ad3e7eaabebd03503b685d4d42 (diff)
downloadcogl-85baaef4a4f4fd3a03c7c9f05002eae483ddd6b3.tar.gz
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 <robert@linux.intel.com>
-rwxr-xr-xbuild/mingw/mingw-fetch-dependencies.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh
index 3014b300..6544bfe0 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";