adjust __cdist_object_code cal in cdist-code-run

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-28 15:16:28 +02:00
parent 5e34bebc05
commit 49ebb77ab3
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ if [ ! -d "$(__cdist_object_dir "$__cdist_object_self")" ]; then
__cdist_exit_err "Object undefined"
fi
code="$(__cdist_object_code "$__cdist_object_self")-${__cdist_code_type}"
code="$(__cdist_object_code "$__cdist_object_self" "${__cdist_code_type}")"
__cdist_echo info "Checking code-${__cdist_code_type}"