commit: cf60b1c8e6ba974bbe2bfafb42231365ea1b4994 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jan 26 12:09:07 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Jan 27 07:06:47 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf60b1c8
multilib-build.eclass: Rewrap the condition for readibility Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/26 eclass/multilib-build.eclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index 1d80c43fc900..a0232ad2762a 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -168,9 +168,12 @@ multilib_get_enabled_abi_pairs() { # paludis is broken (bug #486592), and switching it locally # for the split is more complex than cheating like this for m_abi in ${m_abis//,/ }; do - if [[ ${m_abi} == ${abi} ]] \ - && { [[ ! "${MULTILIB_COMPAT[@]}" ]] || has "${m_flag}" "${MULTILIB_COMPAT[@]}"; } \ - && use "${m_flag}" + if [[ ${m_abi} == ${abi} ]] && + { + [[ ! "${MULTILIB_COMPAT[@]}" ]] || + has "${m_flag}" "${MULTILIB_COMPAT[@]}" + } && + use "${m_flag}" then echo "${m_flag}.${abi}" found=1
