summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-05-06 08:43:57 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-05-06 08:48:25 -0400
commite88568ba3ef0c760e80cff02d567283a8b557d6b (patch)
treed60f7f710fa8d3da085253b2cafeec332364351f /metadata
parentdev-python/pythondialog: Stabilize 3.5.3 amd64, #842969 (diff)
downloadgentoo-e88568ba3ef0c760e80cff02d567283a8b557d6b.tar.gz
gentoo-e88568ba3ef0c760e80cff02d567283a8b557d6b.tar.bz2
gentoo-e88568ba3ef0c760e80cff02d567283a8b557d6b.zip
metadata/install-qa-check.d: further fix 60libtool-la library check
Without -t, the delimiter (newline) is not stripped and so elements do not end in .la to be replaced by .a Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'metadata')
-rw-r--r--metadata/install-qa-check.d/60libtool-la2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la
index 89b93fcfe6aa..48849f42e154 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -9,7 +9,7 @@ libtool_la_check() {
# Bail out if there aren't any .la files being installed
# TODO: use -d'' w/ newer EAPIs (bash 4.4+)
- readarray files < <(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
+ readarray -t files < <(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
[[ -n "${files[@]}" ]] || return
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then