Merge pull request #1864 from znz/no-longer-need-to-set-nullglob
no longer need to set nullglob
This commit is contained in:
@@ -55,11 +55,9 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
ps:rebuildall)
|
ps:rebuildall)
|
||||||
shopt -s nullglob
|
|
||||||
for app in $(dokku_apps); do
|
for app in $(dokku_apps); do
|
||||||
is_deployed $app && dokku ps:rebuild $app
|
is_deployed $app && dokku ps:rebuild $app
|
||||||
done
|
done
|
||||||
shopt -u nullglob
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ps:restart)
|
ps:restart)
|
||||||
@@ -73,15 +71,12 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
ps:restartall)
|
ps:restartall)
|
||||||
shopt -s nullglob
|
|
||||||
for app in $(dokku_apps); do
|
for app in $(dokku_apps); do
|
||||||
dokku ps:restart $app
|
dokku ps:restart $app
|
||||||
done
|
done
|
||||||
shopt -u nullglob
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ps:restore)
|
ps:restore)
|
||||||
shopt -s nullglob
|
|
||||||
for app in $(dokku_apps); do
|
for app in $(dokku_apps); do
|
||||||
DOKKU_APP_RESTORE=$(dokku config:get $app DOKKU_APP_RESTORE || true)
|
DOKKU_APP_RESTORE=$(dokku config:get $app DOKKU_APP_RESTORE || true)
|
||||||
if [[ $DOKKU_APP_RESTORE != 0 ]]; then
|
if [[ $DOKKU_APP_RESTORE != 0 ]]; then
|
||||||
@@ -89,7 +84,6 @@ case "$1" in
|
|||||||
dokku ps:start $app
|
dokku ps:start $app
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
shopt -u nullglob
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ps:scale)
|
ps:scale)
|
||||||
|
|||||||
Reference in New Issue
Block a user