Fix lint failures

Also correct ; to be the proper delimiter.
This commit is contained in:
Matt Colyer
2015-11-02 21:23:58 -08:00
parent 50f980ce03
commit c68ac3be25

View File

@@ -31,8 +31,8 @@ case "$1" in
touch "$LINKS_FILE"
dokku_log_info1 "Starting container"
if [ -n $POSTGRES_DOCKER_ARGS ]; then
echo "$(echo $POSTGRES_DOCKER_ARGS | tr ',' "\n")" > "$SERVICE_ROOT/ENVIRONMENT"
if [[ -n $POSTGRES_DOCKER_ARGS ]]; then
echo "$POSTGRES_DOCKER_ARGS" | tr ';' "\n" > "$SERVICE_ROOT/ENVIRONMENT"
else
echo "" > "$SERVICE_ROOT/ENVIRONMENT"
fi