forked from ungleich-public/cdist
+debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
00bbadef78
commit
022db22924
4 changed files with 45 additions and 34 deletions
|
|
@ -38,6 +38,8 @@ __cdist_object_run()
|
|||
# Export to non-core for use in manifest and gencode scripts
|
||||
export $__cdist_name_var_self=$__cdist_object_self
|
||||
|
||||
# FIXME: BUG: should be named differently!
|
||||
# FIXME: BUG: I can be called recursively! -> variables are probably already set / overwritten!
|
||||
__cdist_object_finished="$(__cdist_object_finished "$__cdist_object_self")"
|
||||
if [ ! -f "$__cdist_object_finished" ]; then
|
||||
# Resolve dependencies, if any
|
||||
|
|
@ -52,9 +54,12 @@ __cdist_object_run()
|
|||
__cdist_requirement="$1"; shift
|
||||
__cdist_echo info "Resolving requirement $__cdist_requirement"
|
||||
__cdist_object_run "$__cdist_requirement"
|
||||
echo "done run"
|
||||
done
|
||||
fi
|
||||
|
||||
echo "after done"
|
||||
|
||||
__cdist_object_gencode_run "$__cdist_object_self"
|
||||
__cdist_dir push "$(__cdist_object_dir "$__cdist_object_self")" \
|
||||
"$(__cdist_remote_object_dir "$__cdist_object_self")"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue