diff options
author | David Seifert <soap@gentoo.org> | 2021-03-26 21:40:29 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-03-26 21:40:29 +0100 |
commit | be1c797f389a1c5a6263d642925585f340bdfa37 (patch) | |
tree | db360ee9717fc11245367e73fc099c223c191c71 /eclass/wxwidgets.eclass | |
parent | app-doc/doxygen: x86 stable wrt bug #768921 (diff) | |
download | gentoo-be1c797f389a1c5a6263d642925585f340bdfa37.tar.gz gentoo-be1c797f389a1c5a6263d642925585f340bdfa37.tar.bz2 gentoo-be1c797f389a1c5a6263d642925585f340bdfa37.zip |
wxwidgets.eclass: fix for loop return code
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r-- | eclass/wxwidgets.eclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index f031cdf54430..e1f77f0b7c2b 100644 --- a/eclass/wxwidgets.eclass +++ b/eclass/wxwidgets.eclass @@ -118,10 +118,7 @@ setup-wxwidgets() { wxconf="${wxtoolkit}-unicode-${wxdebug}${WX_GTK_VER}" for w in "${CHOST:-${CBUILD}}-${wxconf}" "${wxconf}"; do - if [[ -f ${ESYSROOT:-${EPREFIX}}/usr/$(get_libdir)/wx/config/${w} ]]; then - wxconf=${w} - break - fi + [[ -f ${ESYSROOT:-${EPREFIX}}/usr/$(get_libdir)/wx/config/${w} ]] && wxconf=${w} && break done || die "Failed to find configuration ${wxconf}" export WX_CONFIG="${ESYSROOT:-${EPREFIX}}/usr/$(get_libdir)/wx/config/${wxconf}" |