diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-04-01 19:10:37 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-04-01 19:10:37 +0000 |
commit | 7bf54b734e6faf87abc117db482a641fcb06b9b7 (patch) | |
tree | cab20bb940e96cb59b28733806026b9053a1ef6b /pkgs | |
parent | 2b58d63ab600a18d013e4c7a9444062d91bd26ed (diff) |
* Follow redirects.
svn path=/nixpkgs/trunk/; revision=899
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/fetchurl/builder.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchurl/builder.sh b/pkgs/build-support/fetchurl/builder.sh index ac925dbcbdb64..b403ec2457976 100644 --- a/pkgs/build-support/fetchurl/builder.sh +++ b/pkgs/build-support/fetchurl/builder.sh @@ -2,7 +2,7 @@ header "downloading $out from $url" -curl --fail "$url" > "$out" +curl --fail --location --max-redirs 20 "$url" > "$out" actual=$(md5sum -b "$out" | cut -c1-32) if test "$actual" != "$md5"; then |