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:
parent
5b9881bef6
commit
b06f6be5a6
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue