the package name includes -r for package release

This commit is contained in:
Natanael Copa 2008-11-09 15:09:12 +00:00
parent 6e55c8cedf
commit fb99675891
1 changed files with 1 additions and 1 deletions

2
abuild
View File

@ -362,7 +362,7 @@ srcpkg() {
# check if package is up to date
up2date() {
local pkg="$PKGDEST/$pkgname-$pkgver-$pkgrel.apk"
local pkg="$PKGDEST/$pkgname-$pkgver-r$pkgrel.apk"
local i s
cd "$startdir"
[ -f "$pkg" ] || return 1