export __global in cdist-remote-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
d3fe22b281
commit
3cd90300f1
1 changed files with 2 additions and 4 deletions
|
@ -39,12 +39,10 @@ __cdist_explorer_dir="$1"; shift
|
||||||
# Write output here
|
# Write output here
|
||||||
__cdist_my_out_dir="$1"; shift
|
__cdist_my_out_dir="$1"; shift
|
||||||
|
|
||||||
# cd to this dir
|
|
||||||
__cdist_work_dir="$__cdist_remote_base_dir"
|
|
||||||
|
|
||||||
# Setup environment
|
# Setup environment
|
||||||
export $__cdist_variable_name="$__cdist_explorer_dir"
|
export $__cdist_variable_name="$__cdist_explorer_dir"
|
||||||
cd "${__cdist_work_dir}"
|
export __global="$__cdist_remote_out_dir"
|
||||||
|
|
||||||
mkdir -p "$__cdist_my_out_dir"
|
mkdir -p "$__cdist_my_out_dir"
|
||||||
|
|
||||||
# Ensure there is at least one explorer
|
# Ensure there is at least one explorer
|
||||||
|
|
Loading…
Reference in a new issue