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)