From e8b4bd5a89e4991649529098f2db01540fc5f75d Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Thu, 18 Dec 2014 11:59:04 -0800 Subject: [PATCH] lintball --- plugins/00_dokku-standard/install | 2 +- plugins/nginx-vhosts/commands | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/00_dokku-standard/install b/plugins/00_dokku-standard/install index 518519f36..91e93d2d8 100755 --- a/plugins/00_dokku-standard/install +++ b/plugins/00_dokku-standard/install @@ -6,7 +6,7 @@ if [[ ! -f "$DOKKU_ROOT/HOSTNAME" ]]; then fi if [[ ! -f "$DOKKU_ROOT/VHOST" ]]; then - [[ $(dig +short $(< "$DOKKU_ROOT/HOSTNAME")) ]] && cp "$DOKKU_ROOT/HOSTNAME" "$DOKKU_ROOT/VHOST" + [[ $(dig +short "$(< "$DOKKU_ROOT/HOSTNAME")") ]] && cp "$DOKKU_ROOT/HOSTNAME" "$DOKKU_ROOT/VHOST" fi # temporary hack for https://github.com/progrium/dokku/issues/82 diff --git a/plugins/nginx-vhosts/commands b/plugins/nginx-vhosts/commands index 79b9bc44f..e406dba8f 100755 --- a/plugins/nginx-vhosts/commands +++ b/plugins/nginx-vhosts/commands @@ -24,7 +24,7 @@ case "$1" in [[ -f "$DOKKU_ROOT/$APP/ENV" ]] && source $DOKKU_ROOT/$APP/ENV if [[ ! -n "$NO_VHOST" ]]; then - NONSSL_VHOSTS=`cat $VHOST_PATH` + NONSSL_VHOSTS=$(cat $VHOST_PATH) if [[ -e "$SSL/server.crt" ]] && [[ -e "$SSL/server.key" ]]; then SSL_INUSE="$SSL" SSL_DIRECTIVES=$(cat <