begin to re-do __explorer and __global on remote side with functions

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-07-26 23:39:53 +02:00
parent 5b9881bef6
commit b06f6be5a6

View file

@ -39,7 +39,12 @@ __cdist_explorer_run()
# Execute all explorers # Execute all explorers
cd "$2"; cd "$2";
for __cdist_explorer_run_explorer in *; do for __cdist_explorer_run_explorer in *; do
__cdist_run_remote "$3/$__cdist_explorer_run_explorer" ">" \ #BUG: need to export __explorer to remote side!
#exit 23
__cdist_run_remote \
"export $__cdist_name_var_explorer=\"$__cdist_remote_explorer_dir\";" \
"export $__cdist_name_var_global=\"$__cdist_remote_out_dir\";" \
"$3/$__cdist_explorer_run_explorer" > \
"$4/$__cdist_explorer_run_explorer" "$4/$__cdist_explorer_run_explorer"
done done