remove __cdist_type_parameter_file in favor for new variants

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-10 17:44:16 +01:00
parent e1a5a26cbf
commit 24200865c9

View file

@ -202,20 +202,15 @@ __cdist_type_parameter_dir()
echo "$(__cdist_type_dir "$1")/${__cdist_name_parameter}" echo "$(__cdist_type_dir "$1")/${__cdist_name_parameter}"
} }
__cdist_type_parameter_file()
{
echo "$(__cdist_type_parameter_dir "$1")/$2"
}
# Shorthand for required and optional # Shorthand for required and optional
__cdist_type_parameter_required() __cdist_type_parameter_required()
{ {
__cdist_type_parameter_file "$1/$__cdist_name_parameter_required" echo "$(__cdist_type_parameter_dir "$1")/$__cdist_name_parameter_required"
} }
__cdist_type_parameter_optional() __cdist_type_parameter_optional()
{ {
__cdist_type_parameter_file "$1/$__cdist_name_parameter_optional" echo "$(__cdist_type_parameter_dir "$1")/$__cdist_name_parameter_optional"
} }
__cdist_type_from_object() __cdist_type_from_object()