summaryrefslogtreecommitdiff
path: root/abuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-11-09 15:09:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-11-09 15:09:12 +0000
commitfb99675891fa46ea39a5447ff8b803ffd4c6bb85 (patch)
tree306e751623f41738a18c8aeac46bfa7ea8127c80 /abuild
parent6e55c8cedf781b89612180e42462032a1a0ef7c7 (diff)
downloadabuild-fb99675891fa46ea39a5447ff8b803ffd4c6bb85.tar.gz
abuild-fb99675891fa46ea39a5447ff8b803ffd4c6bb85.tar.bz2
abuild-fb99675891fa46ea39a5447ff8b803ffd4c6bb85.tar.xz
abuild-fb99675891fa46ea39a5447ff8b803ffd4c6bb85.zip
the package name includes -r for package release
Diffstat (limited to 'abuild')
-rwxr-xr-xabuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild b/abuild
index cebf2dc..4474021 100755
--- a/abuild
+++ b/abuild
@@ -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