Fail on curl download errors

This commit is contained in:
Sam Stephenson 2012-11-14 19:22:47 -06:00
parent 093e3903ca
commit a2e94128c3

View file

@ -129,7 +129,7 @@ make_package() {
fetch_url() {
if type curl &>/dev/null; then
curl "$@"
curl -f "$@"
elif type wget &>/dev/null; then
wget -O- "$@"
else