pkgsrc/security/openvas-libnasl/patches/patch-aa

15 lines
405 B
Text

$NetBSD: patch-aa,v 1.2 2011/07/05 05:02:10 dholland Exp $
Remove bashism.
--- test/test_script_signing.sh.orig 2008-06-30 11:55:03.000000000 +0100
+++ test/test_script_signing.sh
@@ -18,7 +18,7 @@ numfailed=0
check_script() {
echo -n "$1 "
result=$($NASL $1 2> $1.err.log)
- if [ "x$result" == "x$2" ]; then
+ if [ "x$result" = "x$2" ]; then
numok=$((numok + 1))
echo OK
else