fix: ensure ports are set to an array

This commit is contained in:
Jose Diaz-Gonzalez authored and Michael Hobbs committed 2017-10-02 15:05:13 -07:00
1 parent 94149c8445
commit c43a3edfc6
1 file changed
+1 -1
+1 -1
View File
@@ -593,7 +593,7 @@ dokku_deploy_cmd() {
fi fi
if [[ "$PROC_TYPE" == "web" ]]; then if [[ "$PROC_TYPE" == "web" ]]; then
ports="$(plugn trigger network-compute-ports "$APP" "$PROC_TYPE" "$DOKKU_HEROKUISH")" ports=($(plugn trigger network-compute-ports "$APP" "$PROC_TYPE" "$DOKKU_HEROKUISH"))
local DOKKU_DOCKER_PORT_ARGS="" local DOKKU_DOCKER_PORT_ARGS=""
local DOKKU_PORT="" local DOKKU_PORT=""
for p in "${ports[@]}"; do for p in "${ports[@]}"; do