s/opt_file/optional/

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-23 09:17:33 +01:00
parent 756a12c4f0
commit 9a3d3bf489

View file

@ -82,7 +82,7 @@ done < "$(__cdist_type_param_file "$__cdist_type" "$__cdist_name_type_params_req
# Allow optional parameters # Allow optional parameters
while read optional; do while read optional; do
if [ -f "${tempparams}/${opt_file}" ]; then if [ -f "${tempparams}/${optional}" ]; then
mv "${tempparams}/${optional}" "${__cdist_ddir}" mv "${tempparams}/${optional}" "${__cdist_ddir}"
fi fi
done < "$(__cdist_type_param_file "$__cdist_type" "$__cdist_name_type_params_optional")" done < "$(__cdist_type_param_file "$__cdist_type" "$__cdist_name_type_params_optional")"