diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-08-06T10·00+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-08-06T10·00+0000 |
commit | 9ad39df2823ea11ac670dd3006ab2b8fcf73e6a8 (patch) | |
tree | bd4d3f5aaea725b9ad8e59bc2ffd7833bb1b0430 | |
parent | d551062ec4cf33b73df4e0d38671cbe6ca03abc5 (diff) |
* `==' is not a valid operator.
-rw-r--r-- | corepkgs/fetchurl/fetchurl.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/fetchurl/fetchurl.sh.in b/corepkgs/fetchurl/fetchurl.sh.in index dc92c7ee50d8..7e876a25e2aa 100644 --- a/corepkgs/fetchurl/fetchurl.sh.in +++ b/corepkgs/fetchurl/fetchurl.sh.in @@ -4,7 +4,7 @@ echo "downloading $url into $out..." @wget@ "$url" -O "$out" || exit 1 actual=$(@bindir@/nix-hash --flat $out) -if ! test "$actual" == "$md5"; then +if test "$actual" != "$md5"; then echo "hash is $actual, expected $md5" exit 1 fi |