Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/
Date: Fri, 06 May 2022 12:48:34
Message-Id: 1651841305.e88568ba3ef0c760e80cff02d567283a8b557d6b.ionen@gentoo
1 commit: e88568ba3ef0c760e80cff02d567283a8b557d6b
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 6 12:43:57 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri May 6 12:48:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88568ba
7
8 metadata/install-qa-check.d: further fix 60libtool-la library check
9
10 Without -t, the delimiter (newline) is not stripped
11 and so elements do not end in .la to be replaced by .a
12
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 metadata/install-qa-check.d/60libtool-la | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la
19 index 89b93fcfe6aa..48849f42e154 100644
20 --- a/metadata/install-qa-check.d/60libtool-la
21 +++ b/metadata/install-qa-check.d/60libtool-la
22 @@ -9,7 +9,7 @@ libtool_la_check() {
23
24 # Bail out if there aren't any .la files being installed
25 # TODO: use -d'' w/ newer EAPIs (bash 4.4+)
26 - readarray files < <(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
27 + readarray -t files < <(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
28 [[ -n "${files[@]}" ]] || return
29
30 if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then