document bug

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-08 00:39:04 +02:00
parent 0b5e7b5855
commit 0ec3c2d017
2 changed files with 6 additions and 0 deletions

View file

@ -53,6 +53,8 @@ __cdist_object_run()
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
__cdist_requirement="$1"; shift __cdist_requirement="$1"; shift
__cdist_echo info "Resolving requirement $__cdist_requirement" __cdist_echo info "Resolving requirement $__cdist_requirement"
# FIXME: BUG: at this point, the other __cdist_object_run may have
# overwritten all our variables!
__cdist_object_run "$__cdist_requirement" __cdist_object_run "$__cdist_requirement"
done done
fi fi

View file

@ -1,3 +1,7 @@
BUG in core/__cdist_object_run: each recursive call overwrites the variables!
--------------------------------------------------------------------------------
Bug with requirements when indirect requires is scheduled late: Bug with requirements when indirect requires is scheduled late:
__package/collectd: Generating local code __package/collectd: Generating local code