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

Robert Bragg robert at sixbynine.org
Mon Jan 20 08:39:00 PST 2014


This looks good to land to me:

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
Robert

On Mon, Jan 20, 2014 at 3:59 PM, Neil Roberts <neil at linux.intel.com> wrote:
> The -L option makes curl follow redirections. This is needed for
> downloading glext.h because khronos.org is using a redirect.
> ---
>  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 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";
> --
> 1.8.4.2
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list