From 0ec3c2d017e5cc6f733b255350cc2588bbb221fc Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Sep 2011 00:39:04 +0200 Subject: [PATCH] document bug Signed-off-by: Nico Schottelius --- core/__cdist_object_run | 2 ++ doc/dev/todo/niconext | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/core/__cdist_object_run b/core/__cdist_object_run index 7446c844..d2c7df6e 100755 --- a/core/__cdist_object_run +++ b/core/__cdist_object_run @@ -53,6 +53,8 @@ __cdist_object_run() while [ $# -gt 0 ]; do __cdist_requirement="$1"; shift __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" done fi diff --git a/doc/dev/todo/niconext b/doc/dev/todo/niconext index c76bcae4..cd4f8e70 100644 --- a/doc/dev/todo/niconext +++ b/doc/dev/todo/niconext @@ -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: __package/collectd: Generating local code