summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/control.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/control.sh b/lib/control.sh
index 5ba6f0a..f3f3a4f 100644
--- a/lib/control.sh
+++ b/lib/control.sh
@@ -139,12 +139,10 @@ ${line# }"
req_fields="${req_fields%% }"
if [ -n "${req_fields}" ]; then
# Missing required control fields.
- req_fields="$(echo "${req_fields}" | \
- sed 's/ / /g' | \
+ req_fields="$(echo "${req_fields}" | sed 's/ / /g' | \
sed "s/ /$(ob_get_msg 'list_item_separator')/g")"
_ob_parse_control_error "${file}" '0' \
- 'control_missing_fields' \
- "${req_fields}"
+ 'control_missing_fields' "${req_fields}"
fi
fi
@@ -260,8 +258,7 @@ _ob_parse_control_error()
if [ "${line_nr}" -eq 0 ]; then
file_info="$(printf '%20s:' "${file}")"
else
- file_info="$(printf '%20s(l%d):' "${file}" \
- "${line_nr}")"
+ file_info="$(printf '%20s(l%d):' "${file}" "${line_nr}")"
fi
orig_text_domain="$(ob_get_text_domain)"