summaryrefslogtreecommitdiffstats
path: root/src/control.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-23 16:00:31 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-23 16:00:31 (EDT)
commit82ad2287a0c66396e2d3b46c39cc0ee93f9db00d (patch)
tree306b8283c14881ef07b96d951e5843bef8dbd239 /src/control.sh
parentee9b5d3c6598839a78cc7d561529260c6eefa358 (diff)
_parse_control_error(): Reformat file info
Diffstat (limited to 'src/control.sh')
-rw-r--r--src/control.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control.sh b/src/control.sh
index 38ba841..79f7278 100644
--- a/src/control.sh
+++ b/src/control.sh
@@ -27,12 +27,12 @@ _parse_control_error()
local file_info=
if [ ${line_nr} -eq 0 ]; then
- file_info="$(printf '%20s:' "${file}")"
+ file_info="$(printf '%s' "${file}")"
else
- file_info="$(printf '%20s(l%d):' "${file}" "${line_nr}")"
+ file_info="$(printf '%s:%d' "${file}" "${line_nr}")"
fi
- warn "${file_info} $(get_msg "${msg_id}")" "${@}"
+ warn "${file_info}: $(get_msg "${msg_id}")" "${@}"
return 0
}