[pacman-dev] [PATCH] makepkg: trim trailing space from whitespace sensitive vars

Allan McRae allan at archlinux.org
Sat Nov 19 21:52:49 EST 2011


On 18/11/11 23:35, Dave Reisner wrote:
> 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 at archlinux.org>

Signed-off-by: Allan



More information about the pacman-dev mailing list