introduce __cdist_type_from_object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
2fc8c2c4ce
commit
2c5356ba9c
1 changed files with 5 additions and 0 deletions
|
@ -150,6 +150,11 @@ __cdist_type_param_file()
|
|||
echo "${__cdist_type_dir}/$type/$__cdist_name_type_params/$paramtype"
|
||||
}
|
||||
|
||||
__cdist_type_from_object()
|
||||
{
|
||||
echo "${1%%/*}"
|
||||
}
|
||||
|
||||
__cdist_object_arg()
|
||||
{
|
||||
local arg="$1"; shift
|
||||
|
|
Loading…
Reference in a new issue