Avoid stray '' when rust version is not specified

This commit is contained in:
Michael Vines
2019-03-14 21:30:24 -07:00
parent 19ab7333aa
commit 1b51cba778

View File

@ -42,7 +42,8 @@ BIN_CRATES=(
for crate in "${BIN_CRATES[@]}"; do for crate in "${BIN_CRATES[@]}"; do
( (
set -x set -x
cargo "$rust_version" install --force --path "$crate" --root "$installDir" --features="$cargoFeatures" # shellcheck disable=SC2086 # Don't want to double quote $rust_version
cargo $rust_version install --force --path "$crate" --root "$installDir" --features="$cargoFeatures"
) )
done done