diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-25 08:40:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-25 08:43:14 +0000 |
commit | 46dc3981147107343a2b1d43f2b669bcf543635e (patch) | |
tree | 6119470594e36d5c5e1c5561c297a16f4e5f2980 | |
parent | 98fe44cb7361cf3c44ee3ce4c13671040b8b135a (diff) | |
download | abuild-46dc3981147107343a2b1d43f2b669bcf543635e.tar.gz abuild-46dc3981147107343a2b1d43f2b669bcf543635e.tar.bz2 abuild-46dc3981147107343a2b1d43f2b669bcf543635e.tar.xz abuild-46dc3981147107343a2b1d43f2b669bcf543635e.zip |
abuild: check early for signing keys
fi the signing key is missing we will fail. Rather than fail after
compile we check existance of signing keys before we start.
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1185,6 +1185,8 @@ build_abuildrepo() { _build=true fi if ! apk_up2date || [ -n "$force" ]; then + # check early if we have abuild key + abuild-sign --installed || return 1 logcmd "building $pkgname" sanitycheck && builddeps && clean && fetch && unpack \ && prepare && mkusers && $_build && rootpkg \ |