*atclone-handler: Correctly update the crates

This commit is contained in:
Sebastian Gniazdowski 2019-10-19 19:24:08 +02:00
parent 6620c00cbb
commit c07943b1cb

View file

@ -133,6 +133,7 @@ if [[ -n "${ZPLG_ICE[cargo]}" ]] {
(
builtin cd -q "$toml_dir" && {
if (( ${+ZPLG_ICE[rustup]} )) {
local -x CARGO_HOME="$dir" RUSTUP_HOME="$dir/rustup" PATH="$dir/bin:$PATH"
command $dir/bin/cargo update
command $dir/bin/cargo build
} else {