rename param -> parameter

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-08 00:07:28 +01:00
parent 0458d7cbbe
commit ac9d574049
2 changed files with 5 additions and 5 deletions

View file

@ -196,14 +196,14 @@ __cdist_type_gencode()
echo "${__cdist_type_dir}/$1/${__cdist_name_gencode}"
}
__cdist_type_param_dir()
__cdist_type_parameter_dir()
{
echo "$(__cdist_type_dir "$1")/${__cdist_name_parameter}"
}
__cdist_type_param_file()
__cdist_type_parameter_file()
{
echo "$(__cdist_type_param_dir "$1")/$2"
echo "$(__cdist_type_parameter_dir "$1")/$2"
}
__cdist_type_from_object()

View file

@ -78,14 +78,14 @@ while read required; do
fi
mv "${tempparameter}/${required}" "${__cdist_parameter_dir}"
done < "$(__cdist_type_param_file "$__cdist_type" "$__cdist_name_parameter_required")"
done < "$(__cdist_type_parameter_file "$__cdist_type" "$__cdist_name_parameter_required")"
# Allow optional parameters
while read optional; do
if [ -f "${tempparameter}/${optional}" ]; then
mv "${tempparameter}/${optional}" "${__cdist_parameter_dir}"
fi
done < "$(__cdist_type_param_file "$__cdist_type" "$__cdist_name_parameter_optional")"
done < "$(__cdist_type_parameter_file "$__cdist_type" "$__cdist_name_parameter_optional")"
# Error out on other paramaters
cd "${tempparameter}"