Skip to content

Commit 3e6d0b9

Browse files
Don't use bash syntax in sh script
1 parent 5eb6cb6 commit 3e6d0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: install-rust.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -x
1919
# rust-toolchain.toml. This file will pick it up automatically.
2020
RUST_VERSION=$(perl -ne 'if (/channel\s+=\s+"(\d+(?:\.\d+)+)"/) { print $1 }' rust-toolchain.toml)
2121

22-
if [[ -z "$RUST_VERSION" ]]; then
22+
if [ -z "$RUST_VERSION" ]; then
2323
echo "RUST_VERSION is empty"
2424
exit 1;
2525
fi

0 commit comments

Comments
 (0)