From: Petr Menšík Date: Mon, 25 Feb 2019 09:58:14 +0000 (+0100) Subject: Allow ifconfig to be called from any directory X-Git-Tag: v9.15.0~99^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38301052e112cecfa8897e3b16e89e19bcfc1504;p=thirdparty%2Fbind9.git Allow ifconfig to be called from any directory ifconfig.sh depends on config.guess for platform guessing. It uses it to choose between ifconfig or ip tools to configure interfaces. If system-wide automake script is installed and local was not found, use platform guess. It should work well on mostly any sane platform. Still prefers local guess, but passes when if cannot find it. --- diff --git a/bin/tests/system/ifconfig.sh b/bin/tests/system/ifconfig.sh index e8232f87bd1..c6b412a8f2d 100755 --- a/bin/tests/system/ifconfig.sh +++ b/bin/tests/system/ifconfig.sh @@ -21,7 +21,7 @@ # config_guess="" -for f in ./config.guess ../../../config.guess +for f in ./config.guess ../../../config.guess /usr/share/automake*/config.guess do if test -f $f then