we COULD export all variables

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-28 21:05:24 +02:00
parent 1b55794a88
commit 3f1078e97c

View file

@ -27,6 +27,9 @@
: ${CDIST_HOSTS:=$CDIST_CONFIG/hosts} : ${CDIST_HOSTS:=$CDIST_CONFIG/hosts}
: ${CDIST_MODULES:=$CDIST_CONFIG/modules} : ${CDIST_MODULES:=$CDIST_CONFIG/modules}
# always export variables -- needed if everything gets sourced?
set -a
cdist_debug_echo() cdist_debug_echo()
{ {
[ "$CDIST_DEBUG" ] && echo "Debug: $@" [ "$CDIST_DEBUG" ] && echo "Debug: $@"