summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:39:22 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:27 +0200
commit914bc583394a363f7810455dff68d285cd255dff (patch)
treed6a857b92e4ef92077811c87d918177cfb4a0ab0 /eclass/cargo.eclass
parentbzr.eclass: Quote argument of ":" command (diff)
downloadgentoo-914bc583394a363f7810455dff68d285cd255dff.tar.gz
gentoo-914bc583394a363f7810455dff68d285cd255dff.tar.bz2
gentoo-914bc583394a363f7810455dff68d285cd255dff.zip
cargo.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/cargo.eclass')
-rw-r--r--eclass/cargo.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index e3f36fc6ad9b..e8218a241a0e 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -352,7 +352,7 @@ cargo_live_src_unpack() {
mkdir -p "${ECARGO_HOME}" || die
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
- : ${ECARGO_REGISTRY_DIR:=${distdir}/cargo-registry}
+ : "${ECARGO_REGISTRY_DIR:=${distdir}/cargo-registry}"
local offline="${ECARGO_OFFLINE:-${EVCS_OFFLINE}}"