From d1e04c1b677d733262a0436ed9b25b2e7eada15e Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 13 Sep 2011 16:19:46 -0400 Subject: makepkg: add missing newline on passing gpg sourcecheck When a sourceball passes this check without any warnings, a newline is omitted. Similar to the if clause of this else block, print a single new line at the end of the clause instead of accounting for each output. Signed-off-by: Dave Reisner --- scripts/makepkg.sh.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 4f34feb6..b83f57a1 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -742,18 +742,19 @@ check_pgpsigs() { printf '\n' >&2 else if grep -q "REVKEYSIG" "$statusfile"; then - printf '%s (%s)\n' "$(gettext "FAILED")" "$(gettext "the key has been revoked.")" >&2 + printf '%s (%s)' "$(gettext "FAILED")" "$(gettext "the key has been revoked.")" >&2 errors=1 else printf '%s' "$(gettext "Passed")" >&2 if grep -q "EXPSIG" "$statusfile"; then - printf ' (%s)\n' "$(gettext "WARNING:") $(gettext "the signature has expired.")" >&2 + printf ' (%s)' "$(gettext "WARNING:") $(gettext "the signature has expired.")" >&2 warnings=1 elif grep -q "EXPKEYSIG" "$statusfile"; then - printf ' (%s)\n' "$(gettext "WARNING:") $(gettext "the key has expired.")" >&2 + printf ' (%s)' "$(gettext "WARNING:") $(gettext "the key has expired.")" >&2 warnings=1 fi fi + printf '\n' >&2 fi done -- cgit v1.2.3-24-g4f1b