diff options
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ sanitycheck() { [ -z "$pkgname" ] && die "Missing pkgname in APKBUILD" [ -z "${pkgname##* *}" ] && die "pkgname contains spaces" [ -z "$pkgver" ] && die "Missing pkgver in APKBUILD" - if [ "$pkgver" != "volatile" ]; then + if [ "$pkgver" != "volatile" ] && [ -z "$nodeps" ]; then apk version --check -q "$pkgver" ||\ die "$pkgver is not a valid version" fi |