Use central config for env vars

This commit is contained in:
Jose Diaz-Gonzalez
2015-08-29 01:53:43 -04:00
parent 0db07a676d
commit 3bc7404aac
5 changed files with 7 additions and 25 deletions

View File

@@ -2,10 +2,10 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$(dirname "$0")/../common/functions"
source "$(dirname "$0")/functions"
source "$(dirname "$0")/config"
STDIN=$(cat)
APP="$1"
PLUGIN_DATA_ROOT=/var/lib/dokku/services/mysql
output=""
for i in $PLUGIN_DATA_ROOT/*; do