From 06a6bf1a0dfdc997413b6e63d77b4bb8dae40a16 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 7 Sep 2011 10:12:40 +0200 Subject: [PATCH] debug object run Signed-off-by: Nico Schottelius --- core/__cdist_object_code_run | 4 ++-- core/__cdist_object_run | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/__cdist_object_code_run b/core/__cdist_object_code_run index 734db5c9..a932f655 100755 --- a/core/__cdist_object_code_run +++ b/core/__cdist_object_code_run @@ -26,7 +26,7 @@ __cdist_object_code_run() { [ $# -eq 1 ] || __cdist_exit_err "" - # set -x + set -x if [ ! -d "$(__cdist_object_dir "$1")" ]; then __cdist_exit_err "Object undefined" @@ -46,5 +46,5 @@ __cdist_object_code_run() __cdist_run_remote $(__cdist_remote_object_code "$1") fi - # set +x + set +x } diff --git a/core/__cdist_object_run b/core/__cdist_object_run index 086bfb0b..d122bdd4 100755 --- a/core/__cdist_object_run +++ b/core/__cdist_object_run @@ -64,6 +64,7 @@ __cdist_object_run() "$(__cdist_remote_object_dir "$__cdist_object_self")" __cdist_echo debug "Before run" __cdist_object_code_run "$__cdist_object_self" + __cdist_echo debug "Object run done # Mark this object as done touch "$__cdist_object_finished"