]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix test to see if $PERL is set
authorMark Andrews <marka@isc.org>
Fri, 13 Jun 2014 01:45:08 +0000 (11:45 +1000)
committerMark Andrews <marka@isc.org>
Fri, 13 Jun 2014 01:47:37 +0000 (11:47 +1000)
(cherry picked from commit 44f0f310d41acc5c772d38353fe35ddacb3fee80)

bin/tests/system/run.sh

index c76805db1494c43eacbbc40cd84dc392d4f62681..9e1e5c21205f512c0a5ea61a5036f61bbdbf0059 100644 (file)
@@ -39,7 +39,7 @@ echo "S:$test:`date`" >&2
 echo "T:$test:1:A" >&2
 echo "A:System test $test" >&2
 
-if [ x$PERL = x ]
+if [ x${PERL:+set} = x ]
 then
     echo "I:Perl not available.  Skipping test." >&2
     echo "R:UNTESTED" >&2