Update docs with $PLUGIN_PATH instead of $(dirname $0)/..
This commit is contained in:
1 parent
d5df6a4190
commit
9637884861
2 files changed
+4
-4
No files matched your search
@@ -15,7 +15,7 @@ The below plugin is a dummy `dokku hello` plugin. If your plugin exposes command
|
|||||||
```shell
|
```shell
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
source "$(dirname $0)/../common/functions"
|
source "$PLUGIN_PATH/common/functions"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
hello)
|
hello)
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
|
|
||||||
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..."
|
dokku_log_info1" Installing GraphicsMagick..."
|
||||||
|
|
||||||
@@ -279,7 +279,7 @@ docker commit $ID $IMAGE > /dev/null
|
|||||||
|
|
||||||
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 $CONTAINER_PACKAGE..."
|
dokku_log_info1" Installing $CONTAINER_PACKAGE..."
|
||||||
|
|
||||||
@@ -360,7 +360,7 @@ fi
|
|||||||
|
|
||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
|
|
||||||
source "$(dirname $0)/../common/functions"
|
source "$PLUGIN_PATH/common/functions"
|
||||||
|
|
||||||
APP="$1"
|
APP="$1"
|
||||||
IMAGE="dokku/$APP"
|
IMAGE="dokku/$APP"
|
||||||
|
|||||||
Reference in new issue
Block a user