[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.5.3-548-g9a40927
Allan McRae
allan at archlinux.org
Mon Aug 8 18:35:35 EDT 2011
On 09/08/11 08:18, Dan McGee wrote:
> commit 1a919a11b85cb882bf5e632036a9030e4a98aba0
> Author: Dave Reisner<dreisner at archlinux.org>
> Date: Mon Aug 8 17:20:53 2011 -0400
>
> makepkg: ignore epoch when undeclared
>
> In this case, we skip the epoch versioning entirely, as if it were
> declared as 0.
>
> Prevents errors such as:
>
> /usr/bin/makepkg: line 244: ((: ! : syntax error: operand expected
> (error token is " ")
> ==> Finished making: cower-git :20110808-1 (Mon Aug 8 17:17:27 EDT
> 2011)
>
> Signed-off-by: Dave Reisner<dreisner at archlinux.org>
> Signed-off-by: Dan McGee<dan at archlinux.org>
>
How do you ever get that?
# set defaults if they weren't specified in buildfile
pkgbase=${pkgbase:-${pkgname[0]}}
epoch=${epoch:-0}
So epoch should always be set... perhaps the real bug should be fixed.
Allan
More information about the pacman-dev
mailing list