Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/
Date: Wed, 27 Apr 2022 00:13:27
Message-Id: 1651018383.ae61075e7fb307c5f13810963099df88f99df426.sam@gentoo
1 commit: ae61075e7fb307c5f13810963099df88f99df426
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 00:13:03 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 00:13:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae61075e
7
8 metadata/install-qa-check.d: avoid -d'' in readarray
9
10 Needs newer Bash.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 metadata/install-qa-check.d/60libtool-la | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la
18 index af69a8b897ab..34344890333f 100644
19 --- a/metadata/install-qa-check.d/60libtool-la
20 +++ b/metadata/install-qa-check.d/60libtool-la
21 @@ -8,7 +8,8 @@ libtool_la_check() {
22 fi
23
24 # Bail out if there aren't any .la files being installed
25 - readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0 2>/dev/null)
26 + # TODO: use -d'' w/ newer EAPIs (bash 4.4+)
27 + readarray 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