From 39912ce5dbe0d86f37e1c46b3111ce9b1cd4bbaa Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 12 Dec 2014 01:07:08 -0500 Subject: [PATCH] Allow sourcing in any file in .dokkurc This allows us to configure dokku env-vars individually. Such a feature is useful if a developer would like to enable or disable DOKKU_TRACE without parsing a dokkurc file. --- dokku | 1 + 1 file changed, 1 insertion(+) diff --git a/dokku b/dokku index 0246d8965..c6a1cb769 100755 --- a/dokku +++ b/dokku @@ -10,6 +10,7 @@ export DOKKU_NOT_IMPLEMENTED_EXIT=10 export DOKKU_VALID_EXIT=0 [[ -f $DOKKU_ROOT/dokkurc ]] && source $DOKKU_ROOT/dokkurc +[[ -d $DOKKU_ROOT/.dokkurc ]] && for f in $DOKKU_ROOT/.dokkurc/*; do source $f; done [[ $DOKKU_TRACE ]] && set -x