Skip to content

Commit 3e6d0b9

Browse files
committedMar 13, 2024··
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
 

‎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

5 commit comments

Comments
 (5)

latobarita commented on Mar 13, 2024

@latobarita
Contributor

saw approval from sisuresh
at MonsieurNicolas@3e6d0b9

latobarita commented on Mar 13, 2024

@latobarita
Contributor

merging MonsieurNicolas/stellar-core/fixRustInstallScript = 3e6d0b9 into auto

latobarita commented on Mar 13, 2024

@latobarita
Contributor

MonsieurNicolas/stellar-core/fixRustInstallScript = 3e6d0b9 merged ok, testing candidate = f7a767a

latobarita commented on Mar 13, 2024

@latobarita
Contributor

fast-forwarding master to auto = f7a767a

Please sign in to comment.