nixpkgs/pkgs/stdenv/linux/scripts/download.sh

4 lines
106 B
Bash
Raw Normal View History

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