Use central config for env vars

This commit is contained in:
Jose Diaz-Gonzalez
2015-08-29 01:54:00 -04:00
parent f6b98c1066
commit 653bb8828b
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/mongo
output=""
for i in $PLUGIN_DATA_ROOT/*; do