summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:39:52 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:47 +0200
commita8b6877fa047544fbc7d70b26c69ee8c6f485388 (patch)
tree2e58ecd5459defa7a0c3a995b8c5bda102b43311
parentmultilib.eclass: Quote argument of ":" command (diff)
downloadgentoo-a8b6877fa047544fbc7d70b26c69ee8c6f485388.tar.gz
gentoo-a8b6877fa047544fbc7d70b26c69ee8c6f485388.tar.bz2
gentoo-a8b6877fa047544fbc7d70b26c69ee8c6f485388.zip
ninja-utils.eclass: Quote argument of ":" command
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eclass/ninja-utils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass
index 4577e26fa57c..8969863959e3 100644
--- a/eclass/ninja-utils.eclass
+++ b/eclass/ninja-utils.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ninja-utils.eclass
@@ -34,7 +34,7 @@ _NINJA_UTILS_ECLASS=1
# but other values can be set where NINJA_DEPEND will then be set
# to a blank variable.
# The default is set to "ninja".
-: ${NINJA:=ninja}
+: "${NINJA:=ninja}"
# @ECLASS_VARIABLE: NINJA_DEPEND
# @OUTPUT_VARIABLE