commit:     7d3a9e65df75b6a2567c668ce27f9082f36fa1c5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 06:22:13 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 04:03:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3a9e65

virtualx.eclass: Add quoting to workaround vim syntax hl bug

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/virtualx.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index b7a25c897b4a..5c4b39164cff 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -53,7 +53,7 @@ case ${VIRTUALX_REQUIRED} in
        *)
                BDEPEND="${VIRTUALX_REQUIRED}? ( ${VIRTUALX_DEPEND} )"
                IUSE="${VIRTUALX_REQUIRED}"
-               [[ ${VIRTUALX_REQUIRED} == test ]] &&
+               [[ ${VIRTUALX_REQUIRED} == "test" ]] &&
                        RESTRICT+=" !test? ( test )"
                ;;
 esac

Reply via email to