]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow ifconfig to be called from any directory
authorPetr Menšík <pemensik@redhat.com>
Mon, 25 Feb 2019 09:58:14 +0000 (10:58 +0100)
committerMark Andrews <marka@isc.org>
Tue, 12 Mar 2019 03:10:40 +0000 (14:10 +1100)
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.

(cherry picked from commit 38301052e112cecfa8897e3b16e89e19bcfc1504)

bin/tests/system/ifconfig.sh

index e8232f87bd1d41858b20c7e80ba06c1d920702aa..c6b412a8f2d1fb08a918fb5f3b5cf1a6cbf7df68 100755 (executable)
@@ -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