diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-13 22:19:46 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-09-14 20:19:18 +0200 |
commit | d1e04c1b677d733262a0436ed9b25b2e7eada15e (patch) | |
tree | 070b292f78897cbf0ed6a6f0173743ae01a830ca | |
parent | 0f69e2ec0b3958167a2ea7a5fcef40cb966d05d1 (diff) | |
download | pacman-d1e04c1b677d733262a0436ed9b25b2e7eada15e.tar.gz pacman-d1e04c1b677d733262a0436ed9b25b2e7eada15e.tar.xz |
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 <dreisner@archlinux.org>
-rw-r--r-- | scripts/makepkg.sh.in | 7 |
1 files changed, 4 insertions, 3 deletions
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 |