On 09/08/11 08:18, Dan McGee wrote:
commit 1a919a11b85cb882bf5e632036a9030e4a98aba0
Author: Dave Reisner<[email protected]>
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<[email protected]>
     Signed-off-by: Dan McGee<[email protected]>



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

Reply via email to