summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-27 01:13:03 +0100
committerSam James <sam@gentoo.org>2022-04-27 01:13:03 +0100
commitae61075e7fb307c5f13810963099df88f99df426 (patch)
treece4b81cc1ecba37011342c9d1095f24a211ef2d0 /metadata
parentmetadata/install-qa-check.d: try to silence libtool-la stderr (diff)
downloadgentoo-ae61075e7fb307c5f13810963099df88f99df426.tar.gz
gentoo-ae61075e7fb307c5f13810963099df88f99df426.tar.bz2
gentoo-ae61075e7fb307c5f13810963099df88f99df426.zip
metadata/install-qa-check.d: avoid -d'' in readarray
Needs newer Bash. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'metadata')
-rw-r--r--metadata/install-qa-check.d/60libtool-la3
1 files changed, 2 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la
index af69a8b897ab..34344890333f 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -8,7 +8,8 @@ libtool_la_check() {
fi
# Bail out if there aren't any .la files being installed
- readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0 2>/dev/null)
+ # TODO: use -d'' w/ newer EAPIs (bash 4.4+)
+ readarray files < <(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null)
[[ -n "${files[@]}" ]] || return
if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then