But, if we use export on every variable, it's documented plus clear that we wanted it to do

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-28 21:06:53 +02:00
parent 3f1078e97c
commit 4d1dcf8177
2 changed files with 1 additions and 3 deletions

View File

@ -27,9 +27,6 @@
: ${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: $@"

View File

@ -0,0 +1 @@
cat bin/* | awk '/^export/ { print $2 }'