summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:40:15 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:34:01 +0200
commitd3b1d2b6cea308d4b150f976e987fb49f58a8582 (patch)
tree393e1522bab231d0cb3b3cad1e15db6236a3dda3 /eclass
parentvim-spell.eclass: Quote argument of ":" command (diff)
downloadgentoo-d3b1d2b6cea308d4b150f976e987fb49f58a8582.tar.gz
gentoo-d3b1d2b6cea308d4b150f976e987fb49f58a8582.tar.bz2
gentoo-d3b1d2b6cea308d4b150f976e987fb49f58a8582.zip
virtualx.eclass: Quote argument of ":" command
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/virtualx.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index 2513f4e16256..e2bfee1dfeaa 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -26,7 +26,7 @@ _VIRTUALX_ECLASS=1
# Any other value is taken as useflag desired to be in control of
# the dependency (eg. VIRTUALX_REQUIRED="kde" will add the dependency
# into "kde? ( )" and add kde into IUSE.
-: ${VIRTUALX_REQUIRED:=test}
+: "${VIRTUALX_REQUIRED:=test}"
# @ECLASS_VARIABLE: VIRTUALX_DEPEND
# @OUTPUT_VARIABLE