forked from ungleich-public/cdist
remove unecessary cd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
fc01ceb914
commit
bba8c641e5
1 changed files with 0 additions and 4 deletions
|
@ -41,9 +41,6 @@ export __object_id="$__cdist_object_id"
|
||||||
export __object="$__cdist_object_dir"
|
export __object="$__cdist_object_dir"
|
||||||
export __global="$__cdist_out_dir"
|
export __global="$__cdist_out_dir"
|
||||||
|
|
||||||
# FIXME Needed?
|
|
||||||
cd "$__cdist_local_base_dir"
|
|
||||||
|
|
||||||
if [ -x "$__cdist_type_gencode" ]; then
|
if [ -x "$__cdist_type_gencode" ]; then
|
||||||
__cdist_exec_fail_on_error "$gencode" > "$__cdist_tmp_file"
|
__cdist_exec_fail_on_error "$gencode" > "$__cdist_tmp_file"
|
||||||
else
|
else
|
||||||
|
@ -64,5 +61,4 @@ if [ "$(wc -l < "$__cdist_tmp_file")" -gt 0 ]; then
|
||||||
|
|
||||||
eof
|
eof
|
||||||
chmod u+x "${__cdist_code_output}"
|
chmod u+x "${__cdist_code_output}"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue