summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:39:36 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:36 +0200
commit136e2102516e5656e85136cdd66845c0024ab1db (patch)
tree30bfd942dc9308dcf2ca7ee5279f5a05b84c05f3 /eclass/golang-vcs.eclass
parentgnome2-utils.eclass: Quote argument of ":" command (diff)
downloadgentoo-136e2102516e5656e85136cdd66845c0024ab1db.tar.gz
gentoo-136e2102516e5656e85136cdd66845c0024ab1db.tar.bz2
gentoo-136e2102516e5656e85136cdd66845c0024ab1db.zip
golang-vcs.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/golang-vcs.eclass')
-rw-r--r--eclass/golang-vcs.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/golang-vcs.eclass b/eclass/golang-vcs.eclass
index 7eb60e5f2453..6f60b6dd3ae0 100644
--- a/eclass/golang-vcs.eclass
+++ b/eclass/golang-vcs.eclass
@@ -67,7 +67,7 @@ _golang-vcs_env_setup() {
debug-print-function ${FUNCNAME} "$@"
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
- : ${EGO_STORE_DIR:=${distdir}/go-src}
+ : "${EGO_STORE_DIR:=${distdir}/go-src}"
[[ -n ${EVCS_UMASK} ]] && eumask_push $EVCS_UMASK