Merge pull request #782 from progrium/simplified-config

Simplified config
This commit is contained in:
Jose Diaz-Gonzalez
2014-11-24 13:17:27 -05:00
5 changed files with 47 additions and 92 deletions

View File

@@ -39,7 +39,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
hello)
[[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1
[[ ! -d "$DOKKU_ROOT/$APP" ]] && echo "App $APP does not exist" && exit 1
[[ ! -d "$DOKKU_ROOT/$2" ]] && echo "App $2 does not exist" && exit 1
APP="$2";
echo "Hello $APP"