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

echo "downloading $url into $out"

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