Source plugins from $PLUGIN_AVAILABLE_PATH when not using common plugin

This will allow us to override any core plugin
This commit is contained in:
Jose Diaz-Gonzalez
2015-09-15 02:22:08 -07:00
parent cadba248b6
commit c929edfbe5
15 changed files with 18 additions and 18 deletions

View File

@@ -36,7 +36,7 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_CORE_AVAILABLE_PATH/config/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
APP="$1"; DOKKU_APP_CONTAINER_ID="$2"; DOKKU_APP_CONTAINER_TYPE="$3"; DOKKU_APP_LISTEN_PORT="$4"; DOKKU_APP_LISTEN_IP="$5"
if [[ -z "$DOKKU_APP_LISTEN_PORT" ]] && [[ -f "$DOKKU_ROOT/$APP/PORT" ]]; then