makepkg: trim trailing space from whitespace sensitive vars
commitb8ef22312b4e5fb6b44b39c290303b2b77a68ea9
authorDave Reisner <d@falconindy.com>
Fri, 18 Nov 2011 13:35:21 +0000 (18 08:35 -0500)
committerDan McGee <dan@archlinux.org>
Mon, 21 Nov 2011 03:17:43 +0000 (20 21:17 -0600)
treeb89c16514e489f8303ffec2ad79df6ae6381039b
parentc79c068fe9b80ea9af831c8c883f27fad2e0d128
makepkg: trim trailing space from whitespace sensitive vars

This applies to pkgver, pkgrel, and epoch and ensures that any trailing
whitespace outside of the context of the variable declaration itself is
properly trimmed. The Bash parser will ignore this, and so should we.

We don't need to worry about leading space because it would force a
syntax error, or fail validation.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in