From 2f16b06a7664a448ecf9c6832160f4b6808ffd4b Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Wed, 2 Sep 2015 12:22:55 -0700 Subject: [PATCH] [ci skip] fix up docs --- docs/development/plugin-creation.md | 2 +- docs/development/pluginhooks.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/development/plugin-creation.md b/docs/development/plugin-creation.md index 0a72c2869..2252be29f 100644 --- a/docs/development/plugin-creation.md +++ b/docs/development/plugin-creation.md @@ -21,7 +21,7 @@ case "$1" in hello) [[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1 APP="$2"; TAG=$(get_running_image_tag $APP) - verify_app_name "$2" "$TAG" + verify_app_name "$APP" "$TAG" echo "Hello $APP" ;; diff --git a/docs/development/pluginhooks.md b/docs/development/pluginhooks.md index 8236b0563..c6ec23a96 100644 --- a/docs/development/pluginhooks.md +++ b/docs/development/pluginhooks.md @@ -305,7 +305,7 @@ docker commit $ID $IMAGE > /dev/null #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x -source "$(dirname $0)/../common/functions" +source "$PLUGIN_PATH/common/functions" APP="$1"; TAG=$(get_running_image_tag $APP) verify_app_name "$APP" "$TAG" @@ -323,7 +323,7 @@ verify_app_name "$APP" "$TAG" #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x -source "$(dirname $0)/../common/functions" +source "$PLUGIN_PATH/common/functions" APP="$1"; TAG=$(get_running_image_tag $APP) verify_app_name "$APP" "$TAG" @@ -407,7 +407,7 @@ curl "http://httpstat.us/200" # Clears out the gulp asset build cache for applications set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x -source "$(dirname $0)/../common/functions" +source "$PLUGIN_PATH/common/functions" APP="$1"; GULP_CACHE_DIR="$DOKKU_ROOT/$APP/gulp" TAG=$(get_running_image_tag $APP) @@ -463,7 +463,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x -source "$(dirname $0)/../common/functions" +source "$PLUGIN_PATH/common/functions" APP="$1"; TAG=$(get_running_image_tag $APP) verify_app_name "$APP" "$TAG" @@ -481,7 +481,7 @@ verify_app_name "$APP" "$TAG" #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x -source "$(dirname $0)/../common/functions" +source "$PLUGIN_PATH/common/functions" APP="$1"; TAG=$(get_running_image_tag $APP) verify_app_name "$APP" "$TAG"