forked from ungleich-public/cdist
add __cdist_type_param_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
5d6d316947
commit
1d234550df
1 changed files with 6 additions and 5 deletions
|
@ -196,13 +196,14 @@ __cdist_type_gencode()
|
||||||
echo "${__cdist_type_dir}/$1/${__cdist_name_gencode}"
|
echo "${__cdist_type_dir}/$1/${__cdist_name_gencode}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__cdist_type_param_dir()
|
||||||
|
{
|
||||||
|
echo "$(__cdist_type_dir "$1")/${__cdist_name_parameter}"
|
||||||
|
}
|
||||||
|
|
||||||
__cdist_type_param_file()
|
__cdist_type_param_file()
|
||||||
{
|
{
|
||||||
# FIXME: local == posix?
|
echo "$(__cdist_type_param_dir "$1")/$2"
|
||||||
local type="$1"; shift
|
|
||||||
local paramtype="$1"; shift
|
|
||||||
|
|
||||||
echo "${__cdist_type_dir}/${type}/${__cdist_name_parameter}/${paramtype}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
__cdist_type_from_object()
|
__cdist_type_from_object()
|
||||||
|
|
Loading…
Reference in a new issue