Use FEATURETEST variable instead of a path

feature-test tool location needs to be determined by its associated
variable; otherwise, the tool is not found on Windows:

    setup.sh: line 22: ../feature-test: No such file or directory

(cherry picked from commit 102f012631)
This commit is contained in:
Michal Nowak
2021-02-17 09:20:25 +01:00
parent e68b63c813
commit 5ded078daa

View File

@@ -19,7 +19,7 @@ copy_setports ns1/named.conf.in ns1/named.conf
copy_setports ns2/named.conf.in ns2/named.conf
copy_setports ns3/named.conf.in ns3/named.conf
if ../feature-test --enable-dnstap
if $FEATURETEST --enable-dnstap
then
cat <<'EOF' > ns3/dnstap.conf
dnstap-identity "ns3";