summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/cargo.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index de24a5f84318..a92fe97ec502 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -513,7 +513,7 @@ cargo_src_install() {
set -- cargo install $(has --path ${@} || echo --path ./) \
--root "${ED}/usr" \
- ${GIT_CRATES:---frozen} \
+ ${GIT_CRATES[@]:+--frozen} \
$(usex debug --debug "") \
${ECARGO_ARGS[@]} "$@"
einfo "${@}"