forked from mirrors/nixpkgs
* Add `--fail' to curl invocation to catch errors.
svn path=/nixpkgs/trunk/; revision=889
This commit is contained in:
parent
817d1b27ef
commit
ab7af4709a
|
@ -2,7 +2,7 @@
|
|||
|
||||
header "downloading $out from $url"
|
||||
|
||||
curl "$url" > "$out"
|
||||
curl --fail "$url" > "$out"
|
||||
|
||||
actual=$(md5sum -b "$out" | cut -c1-32)
|
||||
if test "$actual" != "$md5"; then
|
||||
|
|
Loading…
Reference in a new issue