guix/corepkgs/fetchurl.sh

6 lines
106 B
Bash

#! @shell@ -e
echo "downloading $url into $out"
$curl --fail --location --max-redirs 20 "$url" > "$out"