Minor bash formatting changes

This commit is contained in:
Jose Diaz-Gonzalez
2014-11-23 16:42:21 -05:00
parent e7219c0346
commit 8bc3d372ec
3 changed files with 12 additions and 11 deletions

View File

@@ -8,13 +8,13 @@ case "$1" in
logs)
if [[ -z $2 ]]; then
echo "Please specify an app to run the command on"
exit 1
echo "Please specify an app to run the command on"
exit 1
fi
APP="$2";
if [[ ! -d "$DOKKU_ROOT/$APP" ]]; then
echo "App $APP does not exist"
exit 1
echo "App $APP does not exist"
exit 1
fi
if [[ -f "$DOKKU_ROOT/$APP/CONTAINER" ]]; then
@@ -55,7 +55,7 @@ case "$1" in
if [[ -f "$DOKKU_ROOT/$APP/URL" ]]; then
echo $(< "$DOKKU_ROOT/$APP/URL")
fi
;;
;;
version)
cat "$DOKKU_ROOT/VERSION" || {