From: Peter van Dijk Date: Thu, 29 Mar 2018 09:20:04 +0000 (+0200) Subject: luabackend: do not assume pdns_server path X-Git-Tag: dnsdist-1.3.1~189^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4670d4b6293e540712f99ea403131f3fda7f9e78;p=pdns luabackend: do not assume pdns_server path --- diff --git a/modules/luabackend/test2/pdns b/modules/luabackend/test2/pdns index 52561c5f9..95dfe8653 100755 --- a/modules/luabackend/test2/pdns +++ b/modules/luabackend/test2/pdns @@ -1,6 +1,7 @@ #!/usr/bin/env bash +PDNS=${PDNS:-${PWD}/../../../pdns/pdns_server} -../../../pdns/pdns_server --no-config --daemon=no --local-port=5300 --socket-dir=./ \ +$PDNS --no-config --daemon=no --local-port=5300 --socket-dir=./ \ --no-shuffle --launch=lua --loglevel=9 --config-dir=./ \ --cache-ttl=0 --negquery-cache-ttl=0 --query-cache-ttl=0 \ --module-dir=../.libs/ --lua-filename=./pdns-luabackend.lua