extend cdist-object-gencode* to include remote/local extension

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-19 22:19:44 +01:00
commit c5590cb648
3 changed files with 10 additions and 5 deletions

View file

@ -35,7 +35,7 @@ __cdist_type="$(__cdist_type_from_object "$__cdist_object")"
__cdist_object_id="$(__cdist_object_id_from_object "$__cdist_object")"
# Full path to where the executable of the type should exist, if the type has one
gencode="$(__cdist_type_gencode "$__cdist_type")"
gencode="$(__cdist_type_gencode "$__cdist_type")-${__cdist_gencode_type}"
# export variables for gencode
export __object_id="$__cdist_object_id"