From: Michal Nowak Date: Fri, 23 Oct 2020 07:07:44 +0000 (+0200) Subject: Use a POSIX shell in bin/tests/system/ifconfig.sh X-Git-Tag: v9.17.7~44^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0426e04662d06042f7617c6fe7b1a4c07ae501b;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/tests/system/ifconfig.sh.in b/bin/tests/system/ifconfig.sh.in index 67ed60c3929..52b4a5796d0 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