From 8673b079dd056c1f60c2be228cafbc248dcb2907 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Mar 2019 06:42:11 -0400 Subject: _ob_parse_changelog_error(), _ob_parse_control_error(): Drop field width --- (limited to 'lib') 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}" "${@}" -- cgit v0.9.1