enable debugging before catching unset variables

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-05 09:49:00 +02:00
parent 86e30c7a8a
commit 4440838650
2 changed files with 5 additions and 9 deletions

View File

@ -21,15 +21,15 @@
__cdist_version="1.8.0"
# Enable debugging
[ "$__cdist_debug" ] && set -x
# Fail if something bogus is going on
set -u
# Fail if exited non-zero as well
set -e
# enable debugging
[ "$__cdist_debug" ] && set -x
################################################################################
# cconf standard vars prefixed with cdist

View File

@ -33,13 +33,9 @@ __cdist_object_all_object_all()
# Ensure object dir exists, so marker can be created
mkdir -p "${__cdist_out_object_dir}"
BUG:
- where does $__cdist_objects_created get setup?
- why do we use a file?
core/__cdist_object_manifest_run: touch "$__cdist_objects_created"
# FIXME: : - why do we use a file?
# core/__cdist_object_manifest_run: touch "$__cdist_objects_created"
exit 23
# Loop until we do not create new objects anymore
# which is equal to all objects have been run
touch "$__cdist_objects_created"