diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-06 14:47:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-06 14:47:20 +0000 |
commit | fe74ef1b8458d281714ac1066ccd424cab71ca9a (patch) | |
tree | 36ebef519808dd860b7186aec5d70541e1bb863e /abuild | |
parent | 61cc69eac9ad371fe75976d7d31d50990a060d62 (diff) | |
download | abuild-fe74ef1b8458d281714ac1066ccd424cab71ca9a.tar.gz abuild-fe74ef1b8458d281714ac1066ccd424cab71ca9a.tar.bz2 abuild-fe74ef1b8458d281714ac1066ccd424cab71ca9a.tar.xz abuild-fe74ef1b8458d281714ac1066ccd424cab71ca9a.zip |
fix for saintycheckv0.4.1
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |