]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
PYTHON may be null
authorMark Andrews <marka@isc.org>
Wed, 16 Dec 2020 02:50:57 +0000 (13:50 +1100)
committerMark Andrews <marka@isc.org>
Tue, 22 Dec 2020 22:16:26 +0000 (09:16 +1100)
When Python is not present, PYTHON=$(command -v "@PYTHON@") will exit
the script with 1, prevent that by adding "|| true".

bin/tests/system/conf.sh.in

index 48442c405c7470f2085825c0b0b11d40ca615308..74b0ebbf1fbd6d1ec97846500faab1851fda837d 100644 (file)
@@ -124,7 +124,7 @@ PERL=$(command -v "@PERL@")
 # Windows process management leave empty
 PSSUSPEND=
 
-PYTHON=$(command -v "@PYTHON@")
+PYTHON=$(command -v "@PYTHON@" || true)
 PYTEST=@PYTEST@
 
 #