chore: remove unused nullglob

This commit is contained in:
Jose Diaz-Gonzalez
2017-04-24 09:06:55 -06:00
committed by Michael Hobbs
parent c788659b63
commit 1e8831d9a0

View File

@@ -228,10 +228,8 @@ nginx_build_config() {
if [[ -z "$DOKKU_DISABLE_PROXY" ]]; then
if [[ -z "$DOKKU_APP_LISTEN_PORT" ]] && [[ -z "$DOKKU_APP_LISTEN_IP" ]]; then
shopt -s nullglob
local DOKKU_APP_LISTENERS="$(plugn trigger network-get-listeners "$APP")"
local DOKKU_APP_LISTENERS="$(echo "$DOKKU_APP_LISTENERS" | xargs)"
shopt -u nullglob
elif [[ -n "$DOKKU_APP_LISTEN_PORT" ]] && [[ -n "$DOKKU_APP_LISTEN_IP" ]]; then
local PASSED_LISTEN_IP_PORT=true
fi