add __cdist_exec_fail_on_error

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-22 11:31:37 +01:00
parent fab863086b
commit 35387cbc61

View file

@ -179,6 +179,12 @@ __cdist_object_source()
cat "${object_dir}/$__cdist_name_object_source"
}
__cdist_exec_fail_on_error()
{
sh -e -c "$1"
}
__cdist_tmp_removal()
{
rm -rf "${__cdist_tmp_dir}"