use new wrapper __cdist_run_shell

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-08-02 12:17:48 +02:00
commit 7fab1c9dd9
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ __cdist_object_gencode()
export __global="$__cdist_out_dir"
if [ -x "$__cdist_type_gencode" ]; then
__cdist_exec_fail_on_error "$__cdist_type_gencode" > "$__cdist_tmp_file"
__cdist_run_shell "$__cdist_type_gencode" > "$__cdist_tmp_file"
else
if [ -e "$__cdist_type_gencode" ]; then
__cdist_exit_err "$__cdist_type_gencode exists, but is not executable"