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> (cherry picked from commit 85baaef4a4f4fd3a03c7c9f05002eae483ddd6b3)
This commit is contained in:
parent
d3ecaf7a9a
commit
7c1d5a1d69
@ -52,7 +52,7 @@ function download_file ()
|
|||||||
|
|
||||||
case "$DOWNLOAD_PROG" in
|
case "$DOWNLOAD_PROG" in
|
||||||
curl)
|
curl)
|
||||||
curl -o "$DOWNLOAD_DIR/$filename" "$url";
|
curl -L -o "$DOWNLOAD_DIR/$filename" "$url";
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
$DOWNLOAD_PROG -O "$DOWNLOAD_DIR/$filename" "$url";
|
$DOWNLOAD_PROG -O "$DOWNLOAD_DIR/$filename" "$url";
|
||||||
|
Loading…
Reference in New Issue
Block a user