lix/corepkgs/fetchurl.sh

4 lines
91 B
Bash

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