about summary refs log tree commit diff
path: root/corepkgs/fetchurl/fetchurl.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-08-06T10·00+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-08-06T10·00+0000
commit9ad39df2823ea11ac670dd3006ab2b8fcf73e6a8 (patch)
treebd4d3f5aaea725b9ad8e59bc2ffd7833bb1b0430 /corepkgs/fetchurl/fetchurl.sh.in
parentd551062ec4cf33b73df4e0d38671cbe6ca03abc5 (diff)
* `==' is not a valid operator.
Diffstat (limited to 'corepkgs/fetchurl/fetchurl.sh.in')
-rw-r--r--corepkgs/fetchurl/fetchurl.sh.in2
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