* Add `--fail' to curl invocation to catch errors.

svn path=/nixpkgs/trunk/; revision=889
This commit is contained in:
Eelco Dolstra 2004-04-01 12:23:02 +00:00
parent 817d1b27ef
commit ab7af4709a

View file

@ -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