warn about missing manifest (i.e. abort)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.2
Nico Schottelius 14 years ago
parent 0312bf1b4b
commit 581b29ca97
  1. 2
      bin/cdist-manifest-run

@ -47,6 +47,8 @@ cdist-type-build-emulation "${__cdist_out_type_bin_dir}" \
export PATH="${__cdist_out_type_bin_dir}:$PATH"
# Force -x, so the user is aware the file is executed
[ -f "${__cdist_manifest}" ] \
|| __cdist_exit_err "Missing manifest ${__cdist_manifest}"
[ -x "${__cdist_manifest}" ] \
|| __cdist_exit_err "${__cdist_manifest} needs to be executable."
mkdir -p "${__cdist_output_dir}" \

Loading…
Cancel
Save