From 8167e9dda0b0f70405e969f590f714b45af5b192 Mon Sep 17 00:00:00 2001 From: alexshliu <104080237+alexshliu@users.noreply.github.com> Date: Tue, 31 Jan 2023 10:53:17 +0800 Subject: [PATCH] fix(protocol): fix a downloading `solc` binary script bug (#13074) Co-authored-by: David --- packages/protocol/scripts/download_solc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/protocol/scripts/download_solc.sh b/packages/protocol/scripts/download_solc.sh index 71c5c27bfc..2a8f4ce95d 100755 --- a/packages/protocol/scripts/download_solc.sh +++ b/packages/protocol/scripts/download_solc.sh @@ -5,12 +5,12 @@ set -e mkdir -p bin && cd bin if [ -f "solc" ]; then - exit 0 + exit 0 fi VERSION=v0.8.9 -if [[ "$(uname)" = 'Darwin' ]; then +if [ "$(uname)" = 'Darwin' ]; then SOLC_FILE_NAME=solc-macos elif [ "$(uname)" = 'Linux' ]; then SOLC_FILE_NAME=solc-static-linux