diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-03-23 17:39:22 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-03-26 13:33:27 +0200 |
commit | 914bc583394a363f7810455dff68d285cd255dff (patch) | |
tree | d6a857b92e4ef92077811c87d918177cfb4a0ab0 /eclass/cargo.eclass | |
parent | bzr.eclass: Quote argument of ":" command (diff) | |
download | gentoo-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.eclass | 2 |
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}}" |