diff options
author | Allan McRae <allan@archlinux.org> | 2014-06-29 17:13:42 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-06-29 17:15:23 +1000 |
commit | 7305768d5436823999eff382de6bc6334f4e66a4 (patch) | |
tree | de399915d4032b0cce5794d5fbe8af589bdbfaec /lib/libalpm/util.c | |
parent | e0a7682607256ef24b5d2d58212c4b958cce0dce (diff) | |
download | pacman-7305768d5436823999eff382de6bc6334f4e66a4.tar.xz |
makepkg: handle "epoch=" in PKGBUILD with pkgver function
After resourcing the PKGBUILD in update_pkgver(), set the epoch to 0
if it is empty. Also adjust the get_full_version function to be more
robust if epoch somehow still is empty.
Fixes FS#41022.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions