mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
mercurial.eclass: Quote argument of ":" command
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -45,7 +45,7 @@ BDEPEND="dev-vcs/mercurial"
|
||||
#
|
||||
# EHG_REVISION is passed as a value for --updaterev parameter, so it can be more
|
||||
# than just a revision, please consult `hg help revisions' for more details.
|
||||
: ${EHG_REVISION:="default"}
|
||||
: "${EHG_REVISION:="default"}"
|
||||
|
||||
# @ECLASS_VARIABLE: EHG_STORE_DIR
|
||||
# @USER_VARIABLE
|
||||
@@ -70,7 +70,7 @@ BDEPEND="dev-vcs/mercurial"
|
||||
# @ECLASS_VARIABLE: EHG_QUIET
|
||||
# @DESCRIPTION:
|
||||
# Suppress some extra noise from mercurial, set it to 'ON' to be quiet.
|
||||
: ${EHG_QUIET:="OFF"}
|
||||
: "${EHG_QUIET:="OFF"}"
|
||||
[[ "${EHG_QUIET}" == "ON" ]] && EHG_QUIET_CMD_OPT="--quiet"
|
||||
|
||||
# @ECLASS_VARIABLE: EHG_CONFIG
|
||||
|
||||
Reference in New Issue
Block a user