Use central config for env vars

This commit is contained in:
Jose Diaz-Gonzalez
2015-08-29 01:53:34 -04:00
parent e0c9f6b7f4
commit 972af5b984
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/postgres
output=""
for i in $PLUGIN_DATA_ROOT/*; do