From 37a07b02716c2c280562be4332c0930260dc9b93 Mon Sep 17 00:00:00 2001 From: Zain Nasir Date: Mon, 6 Jan 2025 21:42:43 -0500 Subject: [PATCH] fix shell syntax --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f0d1a196e17..5e80fc5dbd6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,10 +25,10 @@ commands: fi cd cbioportal-test ./scripts/build-push-image.sh --src=/tmp/repos/cbioportal --push=<> --skip_web_and_data=true - if [ "<> = "false" ]; then - EXISTS=$(docker inspect --type=image $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?) + if [ "<>" = "false" ]; then + EXISTS=$(docker inspect --type=image $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?); else - EXISTS=$(docker manifest inspect $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?) + EXISTS=$(docker manifest inspect $DOCKER_REPO:$DOCKER_TAG-web-shenandoah > /dev/null; echo $?); fi if [ $EXISTS -eq 0 ]; then echo "Build succeeded!"