Browse Source

Bail out when a download fails

tags/v1.0
falkTX 4 years ago
parent
commit
179b883168
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      setup/functions.sh

+ 1
- 1
setup/functions.sh View File

@@ -38,7 +38,7 @@ function download() {
else else
dlurl="${dlbaseurl}/${name}-${version}.${dlext}" dlurl="${dlbaseurl}/${name}-${version}.${dlext}"
fi fi
curl -L "${dlurl}" -o "${dlfile}"
curl -L "${dlurl}" -o "${dlfile}" --fail
fi fi
fi fi




Loading…
Cancel
Save