forked from cohabit/server_config
fix: typo flag test in install.sh
and deploy.sh
This commit is contained in:
parent
86f66ab8ac
commit
1215d25186
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue