[cogl] mingw-fetch-dependencies: Add the -L option when using curl



commit 85baaef4a4f4fd3a03c7c9f05002eae483ddd6b3
Author: Neil Roberts <neil linux intel com>
Date:   Mon Jan 20 15:59:40 2014 +0000

    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>

 build/mingw/mingw-fetch-dependencies.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh
index 3014b30..6544bfe 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";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]