diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-16 09:25:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-16 09:25:52 +0000 |
commit | 3ea1ead5896c559e83141440f39f7bd9512530c6 (patch) | |
tree | 943600e1594351acd0181c85f7b9aa0d408759c2 /abuild.in | |
parent | d87b10b9af0fa91c707c02240060d3c11bce9ff3 (diff) | |
download | abuild-3ea1ead5896c559e83141440f39f7bd9512530c6.tar.gz abuild-3ea1ead5896c559e83141440f39f7bd9512530c6.tar.bz2 abuild-3ea1ead5896c559e83141440f39f7bd9512530c6.tar.xz abuild-3ea1ead5896c559e83141440f39f7bd9512530c6.zip |
abuild: dont check version number if nodeps is specified
This option is normally used for bootstrapping a build env. Chances are big
that apk-tools is not around.
Diffstat (limited to 'abuild.in')
-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 |