Skip to content

Commit

Permalink
Double quote variables in shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ur4t authored and JohnTitor committed Apr 29, 2024
1 parent c0a6936 commit 8220683
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/install-rust.sh
Expand Up @@ -13,12 +13,12 @@ fi
if [ "$OS" = "windows" ]; then
: "${TARGET?The TARGET environment variable must be set.}"
rustup set profile minimal
rustup update --force $toolchain-"$TARGET"
rustup default $toolchain-"$TARGET"
rustup update --force "$toolchain-$TARGET"
rustup default "$toolchain-$TARGET"
else
rustup set profile minimal
rustup update --force $toolchain
rustup default $toolchain
rustup update --force "$toolchain"
rustup default "$toolchain"
fi

if [ -n "$TARGET" ]; then
Expand Down

0 comments on commit 8220683

Please sign in to comment.