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>
remotes/origin/1.0
Nico Schottelius 15 years ago
parent 3f1078e97c
commit 4d1dcf8177
  1. 3
      bin/cdist-config
  2. 1
      doc_show_all_exported_variables

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

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