From 90b6c91391425ad5f2bef237cbe984c19db458e8 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 2 Dec 2013 23:50:47 +0000 Subject: tools: Prefer /usr/sbin over /usr/bin. The list already contains /sbin and /bin which are just symlinks to the above, but the order is different for / vs. /usr. Due to the symlinks we always prefer sbin over bin anyway, so this change doesn't technically change anything but does clarify things --- tools/install-xml-file-list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list index 42a567ef5..0dc1b2e4e 100755 --- a/tools/install-xml-file-list +++ b/tools/install-xml-file-list @@ -258,7 +258,7 @@ sub install { } elsif ($expand eq 'binary') { $disallow_from_dir->(); - my @PATH = qw(/sbin /bin /usr/bin /usr/sbin /usr/X11R6/bin); + my @PATH = qw(/sbin /bin /usr/sbin /usr/bin /usr/X11R6/bin); foreach my $name (map { expand_macros($_) } @text_l) { my @l = grep { -x $_ } map { "$_/$name" } @PATH; @l or error("can't find binary $name"), next; -- cgit v1.2.1