summaryrefslogtreecommitdiff
path: root/textproc/syntax-highlighting/patches/patch-autotests_input_highlight.sh
blob: b91b04322d595ae64f0faaf963132497a76ca6bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-autotests_input_highlight.sh,v 1.1 2018/01/17 20:11:06 markd Exp $

--- autotests/input/highlight.sh.orig	2017-12-02 20:10:35.000000000 +0000
+++ autotests/input/highlight.sh
@@ -159,9 +159,9 @@ make  destdir=/usr/
 
 # [[ and [ correctly need spaces to be regarded as structure,
 # otherwise they are patterns (currently treated as normal text)
-if [ "$p" == "" ] ; then
+if [ "$p" = "" ] ; then
 	ls /usr/bin/[a-z]*
-elif [[ $p == 0 ]] ; then
+elif [[ $p = 0 ]] ; then
 	ls /usr/share/$p
 fi