diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-09-23 20:07:36 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-09-23 20:13:10 -0400 |
commit | 7fb9758506341ffc05585fbd18f2be58ef0e16c2 (patch) | |
tree | 67b5c45a16df265278582e05a6e7470b5ab86e95 | |
parent | 439b2c8e8a09bc048de66d30905dbc086ee6796d (diff) | |
download | portage-7fb9758506341ffc05585fbd18f2be58ef0e16c2.tar.gz portage-7fb9758506341ffc05585fbd18f2be58ef0e16c2.tar.bz2 portage-7fb9758506341ffc05585fbd18f2be58ef0e16c2.zip |
scan all lib subdirs
Rather than hardcoding lib/lib32/lib64, scan all dirs starting with "lib".
URL: https://bugs.gentoo.org/435834
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | bin/misc-functions.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 1159ca523..ac08bd948 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # # Miscellaneous shell functions that make use of the ebuild env but don't need @@ -577,10 +577,9 @@ install_qa_check() { # this should help to ensure that all (most?) shared libraries are executable # and that all libtool scripts / static libraries are not executable local j - for i in "${ED}"opt/*/lib{,32,64} \ - "${ED}"lib{,32,64} \ - "${ED}"usr/lib{,32,64} \ - "${ED}"usr/X11R6/lib{,32,64} ; do + for i in "${ED}"opt/*/lib* \ + "${ED}"lib* \ + "${ED}"usr/lib* ; do [[ ! -d ${i} ]] && continue for j in "${i}"/*.so.* "${i}"/*.so ; do |