|
|
@ -43,10 +43,7 @@ cdist-type-build-emulation || __cdist_exit_err "Failed to build type emulation b |
|
|
|
PATH="${__cdist_out_type_bin_dir}:$PATH" |
|
|
|
PATH="${__cdist_out_type_bin_dir}:$PATH" |
|
|
|
|
|
|
|
|
|
|
|
# Force -x, so the user is aware the file is executed |
|
|
|
# Force -x, so the user is aware the file is executed |
|
|
|
if [ ! -x "${__cdist_manifest}" ]; then |
|
|
|
[ -x "${__cdist_manifest}" ] || __cdist_exit_err "${__cdist_manifest} needs to be executable." |
|
|
|
__cdist_exit_err "${__cdist_manifest} needs to be executable." |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p "${__cdist_output_dir}" || __cdist_exit_err "Cannot create output dir ${__cdist_output_dir}" |
|
|
|
mkdir -p "${__cdist_output_dir}" || __cdist_exit_err "Cannot create output dir ${__cdist_output_dir}" |
|
|
|
cd "$__cdist_work_dir" || __cdist_exit_err "Cannot change to work dir \"$__cdist_work_dir\"." |
|
|
|
cd "$__cdist_work_dir" || __cdist_exit_err "Cannot change to work dir \"$__cdist_work_dir\"." |
|
|
|
|
|
|
|
|
|
|
|