* `==' is not a valid operator.

This commit is contained in:
Eelco Dolstra 2003-08-06 10:00:30 +00:00
parent d551062ec4
commit 9ad39df282

View file

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