no export needed, so remove it

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-23 00:08:45 +01:00
parent d80d9738ef
commit 616fd954e8

View file

@ -29,12 +29,12 @@ if [ $# -ne 5 ]; then
fi fi
set -ue set -ue
export __cdist_target_host="$1"; shift __cdist_target_host="$1"; shift
export __cdist_local_src_dir="$1"; shift __cdist_local_src_dir="$1"; shift
export __cdist_local_dst_dir="$1"; shift __cdist_local_dst_dir="$1"; shift
export __cdist_remote_src_dir="$1"; shift __cdist_remote_src_dir="$1"; shift
export __cdist_remote_dst_dir="$1"; shift __cdist_remote_dst_dir="$1"; shift
################################################################################ ################################################################################
# New code # New code
@ -60,6 +60,7 @@ fi
# Copy all explorers to remote source directory # Copy all explorers to remote source directory
scp * "${__cdist_remote_user}@${__cdist_target_host}:${__cdist_remote_src_dir}" scp * "${__cdist_remote_user}@${__cdist_target_host}:${__cdist_remote_src_dir}"
# Execute all explorers
for explorer in *; do for explorer in *; do
# Execute explorers and save results in remote destination directory # Execute explorers and save results in remote destination directory
ssh "${__cdist_remote_user}@${__cdist_target_host}" \ ssh "${__cdist_remote_user}@${__cdist_target_host}" \