Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 1/6] virtualx.eclass: Add quoting to workaround vim syntax hl bug
Date: Wed, 27 Jul 2022 07:17:52
Message-Id: 20220727071722.277530-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/6] virtualx.eclass: Use Xvfb -displayfd ... + cleanup by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/virtualx.eclass | 2 +-
4 1 file changed, 1 insertion(+), 1 deletion(-)
5
6 diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
7 index b7a25c897b4a..5c4b39164cff 100644
8 --- a/eclass/virtualx.eclass
9 +++ b/eclass/virtualx.eclass
10 @@ -53,7 +53,7 @@ case ${VIRTUALX_REQUIRED} in
11 *)
12 BDEPEND="${VIRTUALX_REQUIRED}? ( ${VIRTUALX_DEPEND} )"
13 IUSE="${VIRTUALX_REQUIRED}"
14 - [[ ${VIRTUALX_REQUIRED} == test ]] &&
15 + [[ ${VIRTUALX_REQUIRED} == "test" ]] &&
16 RESTRICT+=" !test? ( test )"
17 ;;
18 esac
19 --
20 2.35.1

Replies