From 43e6db264b1bcd0a7c3f18a03ee307dc71532d89 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 6 Feb 2011 22:07:17 +0100 Subject: [PATCH] rename __cdist_id to __cdist_object_id Signed-off-by: Nico Schottelius --- bin/cdist_tree_wrapper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/cdist_tree_wrapper b/bin/cdist_tree_wrapper index ac595888..bcd36837 100755 --- a/bin/cdist_tree_wrapper +++ b/bin/cdist_tree_wrapper @@ -32,11 +32,11 @@ set -eu echo "I am $__cdist_myname and have been called with $@" -__cdist_id="$1"; shift +export __cdist_object_id="$1"; shift -echo "$__cdist_id" | grep -q "^${__cdist_sane_regexp}\$" || __cdist_usage "Provide sane id, please" +echo "$__cdist_object_id" | grep -q "^${__cdist_sane_regexp}\$" || __cdist_usage "Provide sane id, please" -__cdist_tid="${__cdist_myname}/${__cdist_id}" +__cdist_tid="${__cdist_myname}/${__cdist_object_id}" __cdist_ddir="$(__cdist_cache_host)/${__cdist_name_object}/${__cdist_tid}" if [ -e "${__cdist_ddir}" ]; then