forked from ungleich-public/cdist
remove hardcoded paths in cdist-type-emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
057ee7911e
commit
86b8428edd
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ echo "$__cdist_object_id" | grep -q "^${__cdist_sane_regexp}\$" || \
|
||||||
__cdist_usage "Insane object id, ${__cdist_object_id}."
|
__cdist_usage "Insane object id, ${__cdist_object_id}."
|
||||||
|
|
||||||
__cdist_object="${__cdist_type}/${__cdist_object_id}"
|
__cdist_object="${__cdist_type}/${__cdist_object_id}"
|
||||||
__cdist_ddir="$__cdist_output_dir/${__cdist_object}"
|
__cdist_ddir="$(__cdist_object_dir "$__cdist_object")"
|
||||||
__cdist_parameter_dir="$__cdist_ddir/$__cdist_name_parameter"
|
__cdist_parameter_dir="$(__cdist_object_parameter_dir "$__cdist_object")"
|
||||||
|
|
||||||
# Append id for error messages
|
# Append id for error messages
|
||||||
__cdist_myname="$__cdist_myname ($__cdist_object_id)"
|
__cdist_myname="$__cdist_myname ($__cdist_object_id)"
|
||||||
|
|
Loading…
Reference in a new issue