From f5db0a24bb4e7250d0ba9d9d3845eece20738e1b Mon Sep 17 00:00:00 2001 From: man0s <95379755+losman0s@users.noreply.github.com> Date: Fri, 1 Dec 2023 21:14:19 +0800 Subject: [PATCH] ci: wip actions --- scripts/build-verifiable.sh | 2 +- scripts/build.sh | 2 +- scripts/deploy-buffer.sh | 2 +- scripts/verify.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build-verifiable.sh b/scripts/build-verifiable.sh index 9c8499f50..b645756d6 100755 --- a/scripts/build-verifiable.sh +++ b/scripts/build-verifiable.sh @@ -11,7 +11,7 @@ fi program_lib_name=$1 cluster=$2 -if [[ -z "$program_lib_name" || -z "$cluster" ]]; then +if [ -z "$program_lib_name" ] || [ -z "$cluster" ]; then ecbo "Usage: $0 " exit 1 fi diff --git a/scripts/build.sh b/scripts/build.sh index e53e18af1..ae71289cb 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -5,7 +5,7 @@ cd $ROOT program_lib_name=$1 cluster=$2 -if [[ -z "$program_lib_name" || -z "$cluster" ]]; then +if [ -z "$program_lib_name" ] || [ -z "$cluster" ]; then ecbo "Usage: $0 " exit 1 fi diff --git a/scripts/deploy-buffer.sh b/scripts/deploy-buffer.sh index f86ab1723..0fa27d8fa 100755 --- a/scripts/deploy-buffer.sh +++ b/scripts/deploy-buffer.sh @@ -6,7 +6,7 @@ program_lib_name=$1 cluster=$2 keypair=$3 -if [[ -z "$keypair" || -z "$program_lib_name" || -z "$cluster" ]]; then +if [ -z "$keypair" ] || [ -z "$program_lib_name" ] || [ -z "$cluster" ]; then ecbo "Usage: $0 " exit 1 fi diff --git a/scripts/verify.sh b/scripts/verify.sh index 70dc3c1c1..2c8f16b75 100755 --- a/scripts/verify.sh +++ b/scripts/verify.sh @@ -11,7 +11,7 @@ fi program_lib_name=$1 cluster=$2 -if [[ -z "$program_lib_name" || -z "$cluster" ]]; then +if [ -z "$program_lib_name" ] || [ -z "$cluster" ]; then ecbo "Usage: $0 " exit 1 fi