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>
This commit is contained in:
Neil Roberts 2014-01-20 15:59:40 +00:00
parent 91af97a2a2
commit 85baaef4a4
1 changed files with 1 additions and 1 deletions

View File

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