nixpkgs/pkgs/stdenv/linux/scripts/download.sh
Eelco Dolstra 399d23373e * Split downloading and unpacking.
* Add an MD5 hash for the downloaded files.
* Rename some files.

svn path=/nixpkgs/trunk/; revision=2267
2005-02-22 09:55:03 +00:00

4 lines
106 B
Bash

set -e
echo "downloading $out from $url"
$curl/bin/curl --fail --location --max-redirs 20 "$url" > "$out"