From 616fd954e8729e05e45bb314ad7c61d65f9e4bc8 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Wed, 23 Feb 2011 00:08:45 +0100
Subject: [PATCH] no export needed, so remove it

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

diff --git a/bin/cdist-explorer-run b/bin/cdist-explorer-run
index 0c733e99..23f8a6eb 100755
--- a/bin/cdist-explorer-run
+++ b/bin/cdist-explorer-run
@@ -29,12 +29,12 @@ if [ $# -ne 5 ]; then
 fi
 set -ue
 
-export __cdist_target_host="$1"; shift
+__cdist_target_host="$1"; shift
 
-export __cdist_local_src_dir="$1"; shift
-export __cdist_local_dst_dir="$1"; shift
-export __cdist_remote_src_dir="$1"; shift
-export __cdist_remote_dst_dir="$1"; shift
+__cdist_local_src_dir="$1"; shift
+__cdist_local_dst_dir="$1"; shift
+__cdist_remote_src_dir="$1"; shift
+__cdist_remote_dst_dir="$1"; shift
 
 ################################################################################
 # New code
@@ -60,6 +60,7 @@ fi
 # Copy all explorers to remote source directory
 scp * "${__cdist_remote_user}@${__cdist_target_host}:${__cdist_remote_src_dir}"
 
+# Execute all explorers
 for explorer in *; do
    # Execute explorers and save results in remote destination directory
    ssh "${__cdist_remote_user}@${__cdist_target_host}" \