1 |
commit: 30826cad2a5d11d5270122ba4050d4d36b963a50 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 15:31:42 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 15:32:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30826cad |
7 |
|
8 |
metadata/install-qa-check.d: use readarray |
9 |
|
10 |
Otherwise we end up not splitting correctly in the loop over files |
11 |
(file contains two entries). |
12 |
|
13 |
Signed-off-by: Sam James <sam <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 a313f785cad2..bd475b6a016d 100644 |
20 |
--- a/metadata/install-qa-check.d/60libtool-la |
21 |
+++ b/metadata/install-qa-check.d/60libtool-la |
22 |
@@ -8,7 +8,7 @@ libtool_la_check() { |
23 |
fi |
24 |
|
25 |
# Bail out if there aren't any .la files being installed |
26 |
- local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null) |
27 |
+ readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0) |
28 |
[[ -n "${files[@]}" ]] || return |
29 |
|
30 |
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then |