add debug via __cdist_debug variable

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-05 09:42:10 +02:00
parent 6886c2e6f1
commit f65b61ee8f

View file

@ -27,6 +27,9 @@ set -u
# Fail if exited non-zero as well
set -e
# enable debugging
[ "$__cdist_debug" ] && set -x
################################################################################
# cconf standard vars prefixed with cdist