From 3f1078e97c6e2bc6da6ca3c60d7bcf6d57d260ae Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 28 Sep 2010 21:05:24 +0200 Subject: [PATCH] we COULD export all variables Signed-off-by: Nico Schottelius --- bin/cdist-config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/cdist-config b/bin/cdist-config index c72cf1e5..8a0af5a4 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -27,6 +27,9 @@ : ${CDIST_HOSTS:=$CDIST_CONFIG/hosts} : ${CDIST_MODULES:=$CDIST_CONFIG/modules} +# always export variables -- needed if everything gets sourced? +set -a + cdist_debug_echo() { [ "$CDIST_DEBUG" ] && echo "Debug: $@"