From 3618b225a39835d56bac0c1eda11b07688e1bb49 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Tue, 29 Mar 2011 10:34:04 +0200
Subject: [PATCH] make all internal variables __cdist_ prefixed

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 bin/cdist-object-explorer-run | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/cdist-object-explorer-run b/bin/cdist-object-explorer-run
index 637d4448..e9a20921 100755
--- a/bin/cdist-object-explorer-run
+++ b/bin/cdist-object-explorer-run
@@ -33,10 +33,10 @@ __object_id="$(__cdist_object_id_from_object "$__object")"
 __cdist_type="$(__cdist_type_from_object "$__object")"
 
 # Check if type of object has >= 1 explorer
-has_explorer="$(__cdist_type_has_explorer "$__cdist_type")"
+__cdist_has_explorer="$(__cdist_type___cdist_has_explorer "$__cdist_type")"
 
 # If so, run explorers on remote side
-if [ "$has_explorer" ]; then
+if [ "$__cdist_has_explorer" ]; then
    echo "Running explorers for $__object ..."
    # Copy object parameters
    cdist-dir push "$__cdist_target_host"                       \
@@ -57,4 +57,3 @@ if [ "$has_explorer" ]; then
       "$(__cdist_remote_object_type_explorer_dir "$__object")" \
       "$(__cdist_object_type_explorer_dir "$__object")"
 fi
-