diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-21 14:25:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-21 14:25:08 +0000 |
commit | a1bf67a46c336fde4c3157cca18ce51c5d1142b1 (patch) | |
tree | 9d0ea610a88f98bc59b40b293394acf7252a226d /abuild.in | |
parent | 32f3fce837569e2a3fb2545d8e09c95ae793ea47 (diff) | |
download | abuild-a1bf67a46c336fde4c3157cca18ce51c5d1142b1.tar.gz abuild-a1bf67a46c336fde4c3157cca18ce51c5d1142b1.tar.bz2 abuild-a1bf67a46c336fde4c3157cca18ce51c5d1142b1.tar.xz abuild-a1bf67a46c336fde4c3157cca18ce51c5d1142b1.zip |
abuild: allow pkgver=volatile
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -95,8 +95,10 @@ sanitycheck() { [ -z "$pkgname" ] && die "Missing pkgname in APKBUILD" [ -z "${pkgname##* *}" ] && die "pkgname contains spaces" [ -z "$pkgver" ] && die "Missing pkgver in APKBUILD" - apk version --check -q "$pkgver" ||\ - die "$pkgver is not a valid version" + if [ "$pkgver" != "volatile" ]; then + apk version --check -q "$pkgver" ||\ + die "$pkgver is not a valid version" + fi [ -z "$pkgrel" ] && warning "Missing pkgrel in APKBUILD. Using pkgrel=0" [ -z "$pkgdesc" ] && die "Missing pkgdesc in APKBUILD" [ -z "$url" ] && die "Missing url in APKBUILD" |