From 054f23a550e0d9f58e9e89c64d50512b0bb4dc68 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 5 Feb 2011 19:44:12 +0100 Subject: [PATCH] create objects in a seperate object dir, so no clashes with other stuff Signed-off-by: Nico Schottelius --- bin/cdist_tree_wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cdist_tree_wrapper b/bin/cdist_tree_wrapper index 69da096d..ac595888 100755 --- a/bin/cdist_tree_wrapper +++ b/bin/cdist_tree_wrapper @@ -37,7 +37,7 @@ __cdist_id="$1"; shift echo "$__cdist_id" | grep -q "^${__cdist_sane_regexp}\$" || __cdist_usage "Provide sane id, please" __cdist_tid="${__cdist_myname}/${__cdist_id}" -__cdist_ddir="$(__cdist_cache_host)/${__cdist_tid}" +__cdist_ddir="$(__cdist_cache_host)/${__cdist_name_object}/${__cdist_tid}" if [ -e "${__cdist_ddir}" ]; then source="$(cat "${__cdist_ddir}/${__cdist_object_source}")"