forked from cohabit/server_config
fix: iterate only over dir in install.sh
and deploy.sh
This commit is contained in:
parent
0de748ae94
commit
6bc7ff1b61
|
@ -1,7 +1,7 @@
|
||||||
APPS=$@
|
APPS=$@
|
||||||
|
|
||||||
if [[ $1 == "*" && $# -eq 1 ]]; then
|
if [[ $1 == "*" && $# -eq 1 ]]; then
|
||||||
APPS=$(ls .)
|
APPS=$(ls -d */)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for app in "$APPS"
|
for app in "$APPS"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
APPS=$@
|
APPS=$@
|
||||||
|
|
||||||
if [[ $1 == "*" && $# -eq 1 ]]; then
|
if [[ $1 == "*" && $# -eq 1 ]]; then
|
||||||
APPS=$(ls .)
|
APPS=$(ls -d */)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for app in "$APPS"
|
for app in "$APPS"
|
||||||
|
|
Loading…
Reference in a new issue