aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-11-03 11:59:06 -0800
committerZac Medico <zmedico@gentoo.org>2019-11-03 12:00:59 -0800
commita2506e4ebd47781eb81b7d13b0a1a376ed028c77 (patch)
treebba0b9bf999d8b6c74e12e352342342679ef1cc0
parentinstall-qa-check.d: remove check that bans libtool files and static libs from / (diff)
downloadportage-a2506e4ebd47781eb81b7d13b0a1a376ed028c77.tar.gz
portage-a2506e4ebd47781eb81b7d13b0a1a376ed028c77.tar.bz2
portage-a2506e4ebd47781eb81b7d13b0a1a376ed028c77.zip
install-qa-check.d: handle libtool files and static libs from /
Fixes: 498900e5e514 ("install-qa-check.d: remove check that bans libtool files and static libs from /") Bug: https://bugs.gentoo.org/699252 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--bin/install-qa-check.d/80libraries4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/install-qa-check.d/80libraries b/bin/install-qa-check.d/80libraries
index e59369bf6..806605293 100644
--- a/bin/install-qa-check.d/80libraries
+++ b/bin/install-qa-check.d/80libraries
@@ -139,7 +139,7 @@ lib_check() {
# https://bugs.gentoo.org/4411
local abort="no"
local a s
- for a in "${ED%/}"/usr/lib*/*.a ; do
+ for a in "${ED%/}"{/usr,}/lib*/*.a ; do
s=${a%.a}.so
if [[ ! -e ${s} ]] ; then
s=${s%usr/*}${s##*/usr/}
@@ -154,7 +154,7 @@ lib_check() {
# Verify that the libtool files don't contain bogus $D entries.
local abort=no gentoo_bug=no always_overflow=no
- for a in "${ED%/}"/usr/lib*/*.la ; do
+ for a in "${ED%/}"{/usr,}/lib*/*.la ; do
s=${a##*/}
if grep -qs "${ED}" "${a}" ; then
__vecho -ne '\n'