Skip to content

Commit 8220683

Browse files
ur4tJohnTitor
authored andcommitted
Double quote variables in shell scripts
1 parent c0a6936 commit 8220683

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/install-rust.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ fi
1313
if [ "$OS" = "windows" ]; then
1414
: "${TARGET?The TARGET environment variable must be set.}"
1515
rustup set profile minimal
16-
rustup update --force $toolchain-"$TARGET"
17-
rustup default $toolchain-"$TARGET"
16+
rustup update --force "$toolchain-$TARGET"
17+
rustup default "$toolchain-$TARGET"
1818
else
1919
rustup set profile minimal
20-
rustup update --force $toolchain
21-
rustup default $toolchain
20+
rustup update --force "$toolchain"
21+
rustup default "$toolchain"
2222
fi
2323

2424
if [ -n "$TARGET" ]; then

0 commit comments

Comments
 (0)