summaryrefslogtreecommitdiff
path: root/security/openvas-libnasl/patches/patch-aa
blob: ec33d64764c496af641f0f2c0b25953b323695bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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