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