Add missing env var

This commit is contained in:
Jose Diaz-Gonzalez
2014-12-11 01:36:06 -05:00
parent e84526490e
commit 0b4b2b29a8

View File

@@ -15,7 +15,7 @@ case "$1" in
domains:setup)
[[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1
[[ ! -d "$DOKKU_ROOT/$2" ]] && echo "App $2 does not exist" && exit 1
APP="$2"
APP="$2"; VHOST_PATH="$DOKKU_ROOT/$APP/VHOST"
[ -f $VHOST_PATH ] || {
echo "-----> Creating new $VHOST_PATH..."