From 3cd90300f130f14bf5dab705495ff4d7fc2e02c2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 7 Mar 2011 18:05:13 +0100 Subject: [PATCH] export __global in cdist-remote-explorer-run Signed-off-by: Nico Schottelius --- bin/cdist-remote-explorer-run | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/cdist-remote-explorer-run b/bin/cdist-remote-explorer-run index 7064a323..0dae3007 100755 --- a/bin/cdist-remote-explorer-run +++ b/bin/cdist-remote-explorer-run @@ -39,12 +39,10 @@ __cdist_explorer_dir="$1"; shift # Write output here __cdist_my_out_dir="$1"; shift -# cd to this dir -__cdist_work_dir="$__cdist_remote_base_dir" - # Setup environment export $__cdist_variable_name="$__cdist_explorer_dir" -cd "${__cdist_work_dir}" +export __global="$__cdist_remote_out_dir" + mkdir -p "$__cdist_my_out_dir" # Ensure there is at least one explorer