diff --git a/deployment/setup_18.04.sh b/deployment/setup_18.04.sh index 152b1feb4..25af78256 100644 --- a/deployment/setup_18.04.sh +++ b/deployment/setup_18.04.sh @@ -48,7 +48,7 @@ rvm use 2.7.2 --default git clone https://github.com/chatwoot/chatwoot.git cd chatwoot -if [[ -z $1 ]]; then +if [[ -z "$1" ]]; then git checkout master; else git checkout $1; diff --git a/deployment/setup_20.04.sh b/deployment/setup_20.04.sh index effad6402..19f32fe12 100644 --- a/deployment/setup_20.04.sh +++ b/deployment/setup_20.04.sh @@ -48,7 +48,7 @@ rvm use 2.7.2 --default git clone https://github.com/chatwoot/chatwoot.git cd chatwoot -if [[ -z $1 ]]; then +if [[ -z "$1" ]]; then git checkout master; else git checkout $1;