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
This commit is contained in:
Michal Nowak
2021-02-17 09:20:25 +01:00
parent da21650949
commit 102f012631

View File

@@ -18,7 +18,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";