From fe74ef1b8458d281714ac1066ccd424cab71ca9a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 6 Nov 2008 14:47:20 +0000 Subject: [PATCH] fix for saintycheck --- abuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild b/abuild index 725b376..36181b1 100755 --- a/abuild +++ b/abuild @@ -48,7 +48,7 @@ sanitycheck() { [ -z "$pkgname" ] && die "Missing pkgname in APKBUILD" [ -z "${pkgname##* *}" ] && die "pkgname contains spaces" [ -z "$pkgver" ] && die "Missing pkgver in APKBUILD" - [ "${pkgver##[0-9]}" != "$pkgver" ] && \ + [ "${pkgver##[0-9]}" == "$pkgver" ] && \ die "pkgver does not start with a digit" [ -z "$pkgrel" ] && warning "Missing pkgrel in APKBUILD. Using pkgrel=0" [ -z "$pkgdesc" ] && die "Missing pkgdesc in APKBUILD"