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
No known key found for this signature in database
GPG key ID: 24A3E8463AEE5E56

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";