about summary refs log tree commit diff
path: root/corepkgs/fetchurl/builder.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/fetchurl/builder.sh.in')
-rw-r--r--corepkgs/fetchurl/builder.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/corepkgs/fetchurl/builder.sh.in b/corepkgs/fetchurl/builder.sh.in
new file mode 100644
index 000000000000..02abb18b4b77
--- /dev/null
+++ b/corepkgs/fetchurl/builder.sh.in
@@ -0,0 +1,5 @@
+#! @shell@ -e
+
+echo "downloading $url into $out"
+
+@curl@ --fail --location --max-redirs 20 "$url" > "$out"