about summary refs log tree commit diff
path: root/corepkgs/fetchurl.sh
blob: 02abb18b4b77bdc35ae70cd38de73a6b27db0164 (plain) (blame)
1
2
3
4
5
#! @shell@ -e

echo "downloading $url into $out"

@curl@ --fail --location --max-redirs 20 "$url" > "$out"