diff options
author | Sam James <sam@gentoo.org> | 2022-04-27 01:13:03 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-27 01:13:03 +0100 |
commit | ae61075e7fb307c5f13810963099df88f99df426 (patch) | |
tree | ce4b81cc1ecba37011342c9d1095f24a211ef2d0 /metadata/install-qa-check.d | |
parent | metadata/install-qa-check.d: try to silence libtool-la stderr (diff) | |
download | gentoo-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/install-qa-check.d')
-rw-r--r-- | metadata/install-qa-check.d/60libtool-la | 3 |
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 |