Avoid stray '' when rust version is not specified

This commit is contained in:
Michael Vines 2019-03-14 21:30:24 -07:00
parent 7498488f5f
commit 8a142966be
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ BIN_CRATES=(
for crate in "${BIN_CRATES[@]}"; do
(
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