Merge pull request #1864 from znz/no-longer-need-to-set-nullglob

no longer need to set nullglob
This commit is contained in:
Michael Hobbs
2016-01-14 08:12:37 -08:00

View File

@@ -55,11 +55,9 @@ case "$1" in
;;
ps:rebuildall)
shopt -s nullglob
for app in $(dokku_apps); do
is_deployed $app && dokku ps:rebuild $app
done
shopt -u nullglob
;;
ps:restart)
@@ -73,15 +71,12 @@ case "$1" in
;;
ps:restartall)
shopt -s nullglob
for app in $(dokku_apps); do
dokku ps:restart $app
done
shopt -u nullglob
;;
ps:restore)
shopt -s nullglob
for app in $(dokku_apps); do
DOKKU_APP_RESTORE=$(dokku config:get $app DOKKU_APP_RESTORE || true)
if [[ $DOKKU_APP_RESTORE != 0 ]]; then
@@ -89,7 +84,6 @@ case "$1" in
dokku ps:start $app
fi
done
shopt -u nullglob
;;
ps:scale)