Commit a2e94128 by Sam Stephenson

Fail on curl download errors

parent 093e3903
...@@ -129,7 +129,7 @@ make_package() { ...@@ -129,7 +129,7 @@ make_package() {
fetch_url() { fetch_url() {
if type curl &>/dev/null; then if type curl &>/dev/null; then
curl "$@" curl -f "$@"
elif type wget &>/dev/null; then elif type wget &>/dev/null; then
wget -O- "$@" wget -O- "$@"
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment