diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-03-23 17:40:16 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-03-26 13:34:01 +0200 |
commit | d6c48920e0ab387d499860fb836cd7a4971c069f (patch) | |
tree | 7a183e447dcb398f914b9613be8d322c0d7b96db /eclass | |
parent | virtualx.eclass: Quote argument of ":" command (diff) | |
download | gentoo-d6c48920e0ab387d499860fb836cd7a4971c069f.tar.gz gentoo-d6c48920e0ab387d499860fb836cd7a4971c069f.tar.bz2 gentoo-d6c48920e0ab387d499860fb836cd7a4971c069f.zip |
waf-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>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/waf-utils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 1be02bbea3cb..88b822cb335e 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-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: waf-utils.eclass @@ -30,7 +30,7 @@ inherit multilib toolchain-funcs multiprocessing # @DESCRIPTION: # Set to OFF to disable verbose messages during compilation # this is _not_ meant to be set in ebuilds -: ${WAF_VERBOSE:=ON} +: "${WAF_VERBOSE:=ON}" # @ECLASS_VARIABLE: WAF_BINARY # @DESCRIPTION: @@ -77,7 +77,7 @@ waf-utils_src_configure() { [[ ${fail} ]] && die "Invalid use of waf-utils.eclass" - : ${WAF_BINARY:="${S}/waf"} + : "${WAF_BINARY:="${S}/waf"}" local conf_args=() |