summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-26 16:31:42 +0100
committerSam James <sam@gentoo.org>2022-04-26 16:32:22 +0100
commit30826cad2a5d11d5270122ba4050d4d36b963a50 (patch)
tree28695946d478851e67e3918ef1a1422df6c3151d /metadata
parentnet-proxy/haproxy: Unify live ebuilds. Default to PCRE2, bug 838013 (diff)
downloadgentoo-30826cad2a5d11d5270122ba4050d4d36b963a50.tar.gz
gentoo-30826cad2a5d11d5270122ba4050d4d36b963a50.tar.bz2
gentoo-30826cad2a5d11d5270122ba4050d4d36b963a50.zip
metadata/install-qa-check.d: use readarray
Otherwise we end up not splitting correctly in the loop over files (file contains two entries). Signed-off-by: Sam James <sam@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 a313f785cad2..bd475b6a016d 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -8,7 +8,7 @@ libtool_la_check() {
fi
# Bail out if there aren't any .la files being installed
- local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
+ readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0)
[[ -n "${files[@]}" ]] || return
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then