about summary refs log tree commit diff
path: root/corepkgs/fetchurl.sh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2012-07-08T14·25-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-09T19·29-0400
commit6450f5699fa824934b92ca7ba1d345c36e9c009a (patch)
tree207b7a3ccf438fd481401a8c9d30e36bfddadd6a /corepkgs/fetchurl.sh
parent40c01ec4671c09a6ceb61ef201dad48156000075 (diff)
Move fetchurl files out of their subdirectory
Diffstat (limited to 'corepkgs/fetchurl.sh')
-rw-r--r--corepkgs/fetchurl.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/corepkgs/fetchurl.sh b/corepkgs/fetchurl.sh
new file mode 100644
index 000000000000..02abb18b4b77
--- /dev/null
+++ b/corepkgs/fetchurl.sh
@@ -0,0 +1,5 @@
+#! @shell@ -e
+
+echo "downloading $url into $out"
+
+@curl@ --fail --location --max-redirs 20 "$url" > "$out"