Update docs with $PLUGIN_PATH instead of $(dirname $0)/..

This commit is contained in:
Jim Myhrberg
2015-08-28 14:27:48 +01:00
parent d5df6a4190
commit 9637884861
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ The below plugin is a dummy `dokku hello` plugin. If your plugin exposes command
```shell
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$(dirname $0)/../common/functions"
source "$PLUGIN_PATH/common/functions"
case "$1" in
hello)

View File

@@ -253,7 +253,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$(dirname $0)/../common/functions"
source "$PLUGIN_PATH/common/functions"
dokku_log_info1" Installing GraphicsMagick..."
@@ -279,7 +279,7 @@ docker commit $ID $IMAGE > /dev/null
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$(dirname $0)/../common/functions"
source "$PLUGIN_PATH/common/functions"
dokku_log_info1" Installing $CONTAINER_PACKAGE..."
@@ -360,7 +360,7 @@ fi
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$(dirname $0)/../common/functions"
source "$PLUGIN_PATH/common/functions"
APP="$1"
IMAGE="dokku/$APP"