check for correct manifest, not the init one

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-05 19:08:47 +01:00
parent 7cb60aa5f5
commit 0ca61d6ed8

View file

@ -40,8 +40,8 @@ cdist-build-bin
PATH="${__cdist_cache_bin}:$PATH" PATH="${__cdist_cache_bin}:$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_init}" ]; then if [ ! -x "${__cdist_manifest}" ]; then
__cdist_exit_err "${__cdist_manifest_init} needs to be executable." __cdist_exit_err "${__cdist_manifest} needs to be executable."
fi fi
mkdir -p "${__cdist_output_dir}" mkdir -p "${__cdist_output_dir}"