diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-17 06:42:11 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-17 06:42:11 (EDT) |
commit | 8673b079dd056c1f60c2be228cafbc248dcb2907 (patch) | |
tree | cd1faad528490125e9e17fb84e678847e53d1590 | |
parent | 897cce8b1b258c528f29a168615cea4a1c157cfb (diff) |
_ob_parse_changelog_error(), _ob_parse_control_error(): Drop field width
-rw-r--r-- | lib/changelog.sh | 2 | ||||
-rw-r--r-- | lib/control.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh index 4432850..7af9835 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -25,7 +25,7 @@ _ob_parse_changelog_error() shift 3 || _ob_abort local file_info= - file_info="$(printf '%20s(l%d)' "${file}" "${line_nr}")" + file_info="$(printf '%s(l%d)' "${file}" "${line_nr}")" _ob_warn_msg "${msg_id}" "${file_info}" "${@}" diff --git a/lib/control.sh b/lib/control.sh index 3c2507e..48f5bf3 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -28,9 +28,9 @@ _ob_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(l%d)' "${file}" "${line_nr}")" fi _ob_warn_msg "${msg_id}" "${file_info}" "${@}" |