From 39de3f300d8a826e3bcf2623c957853e1bd5b6c8 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Fri, 22 Apr 2022 11:49:15 +0100 Subject: [PATCH] Bash updates --- scripts/pro/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/pro/install.sh b/scripts/pro/install.sh index 074d1773cf..cd1682d651 100755 --- a/scripts/pro/install.sh +++ b/scripts/pro/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [[ -z "${CI}" ]] then +if [[ -z "${CI}" ]]; then echo 'Cannot run insall.sh unless in CI' exit 0 fi @@ -15,8 +15,7 @@ git clone https://$PERSONAL_ACCESS_TOKEN@github.com/Budibase/budibase-pro.git # Community forks won't be able to clone the pro repo as they can't access secrets # Skip the rest of the installation and rely on npm version instead # This should be ok as forks will not rely on pro changes -if [ -d "budibase-pro" ] -then +if [[ -d "budibase-pro" ]]; then cd budibase-pro # Try to checkout the matching pro branch