diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-24 07:31:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-24 07:31:28 +0000 |
commit | 9d7c12f0de7e24c0cec429a69ebe8bbe804358fc (patch) | |
tree | 7d7404d4ab542b84df713149b6046aee9c1ff45c /sys-devel/gcc | |
parent | Getting rid of the old mimetype stuff which causes broken behaviour for kde (diff) | |
download | gentoo-2-9d7c12f0de7e24c0cec429a69ebe8bbe804358fc.tar.gz gentoo-2-9d7c12f0de7e24c0cec429a69ebe8bbe804358fc.tar.bz2 gentoo-2-9d7c12f0de7e24c0cec429a69ebe8bbe804358fc.zip |
make sure we dont filter /usr/lib64 as a "subdir" of /usr/lib as pointed out by Christophe Saout in #105792
(Portage version: 2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/ )
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/files/awk/fixlafiles.awk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk index 26567c288e45..c4798f250836 100644 --- a/sys-devel/gcc/files/awk/fixlafiles.awk +++ b/sys-devel/gcc/files/awk/fixlafiles.awk @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.13 2005/05/10 18:10:37 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.14 2005/09/24 07:31:28 vapier Exp $ # # Helper functions @@ -98,12 +98,12 @@ BEGIN { # Drop the directory if its a child directory of # one that was already added ... # For example, if we have: - # /usr/lib /usr/lib/mozilla /usr/lib/nss - # We really just want to save /usr/lib + # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss + # We really just want to save /usr/lib /usr/libexec # CHILD = 0 for (y in DIRLIST) { - if (nodes[x] ~ "^" DIRLIST[y]) { + if (nodes[x] ~ "^" DIRLIST[y] "(/|$)") { CHILD = 1 break } |