From a0426e04662d06042f7617c6fe7b1a4c07ae501b Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Fri, 23 Oct 2020 09:07:44 +0200 Subject: [PATCH] Use a POSIX shell in bin/tests/system/ifconfig.sh Some non-POSIX shells, like /bin/csh on FreeBSD, are unable to execute the config.guess file: + /bin/csh /var/tmp/gitlab_runner/builds/YdCaoq4b/0/mnowak/bind9/config.guess timestamp=2018-02-24: Command not found. me=config.guess: Command not found. Unmatched '"'. When ./configure is run, it attempts to locate a POSIX-compliant shell. Use the result of that search in the bin/tests/system/ifconfig.sh script. --- bin/tests/system/ifconfig.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/ifconfig.sh.in b/bin/tests/system/ifconfig.sh.in index 67ed60c392..52b4a5796d 100755 --- a/bin/tests/system/ifconfig.sh.in +++ b/bin/tests/system/ifconfig.sh.in @@ -22,7 +22,7 @@ top_srcdir=@abs_top_srcdir@ -sys=$($SHELL "$top_srcdir/config.guess") +sys=$(@SHELL@ "$top_srcdir/config.guess") use_ip= case "$sys" in