2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

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.
This commit is contained in:
Michal Nowak
2020-10-23 09:07:44 +02:00
parent 246324fc8e
commit a0426e0466

View File

@@ -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