Use $PLUGIN_PATH instead of dirname

This commit is contained in:
Loïc Guitaut
2015-09-09 12:15:57 +02:00
parent a3a14a4393
commit ad3f4e9df1

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"