Use $PLUGIN_PATH instead of dirname

This commit is contained in:
Loïc Guitaut
2015-09-09 00:05:45 +02:00
parent 915750b1f2
commit 1be1ba34a7

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$(dirname "$0")/../common/functions"
source "$PLUGIN_PATH/common/functions"
source "$(dirname "$0")/functions"
source "$(dirname "$0")/config"