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_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: $@"

View file

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