diff --git a/deploy.sh b/deploy.sh index 12ac9bb..e28b997 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,7 +1,7 @@ APPS=$@ if [[ $# -eq 1 ]]; then - if [[ $1 == "--all" $1 == "-a" ]]; then + if [[ $1 == "--all" || $1 == "-a" ]]; then APPS=$(ls -d */) fi fi diff --git a/install.sh b/install.sh index fb98b3d..9c21c5c 100644 --- a/install.sh +++ b/install.sh @@ -6,7 +6,7 @@ source ./_requirements.sh APPS=$@ if [[ $# -eq 1 ]]; then - if [[ $1 == "--all" $1 == "-a" ]]; then + if [[ $1 == "--all" || $1 == "-a" ]]; then APPS=$(ls -d */) fi fi