From 9ad39df2823ea11ac670dd3006ab2b8fcf73e6a8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Aug 2003 10:00:30 +0000 Subject: [PATCH] * `==' is not a valid operator. --- corepkgs/fetchurl/fetchurl.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corepkgs/fetchurl/fetchurl.sh.in b/corepkgs/fetchurl/fetchurl.sh.in index dc92c7ee50..7e876a25e2 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