diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-03-20 19:32:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-03-20 19:32:09 +0000 |
commit | 0fb794bae0f3e7a7004d3d73f986ad800d36a9ee (patch) | |
tree | 319fc3c939f7a153be118e79eae980f696cd5dbf /eclass | |
parent | version bump wrt #505184 (diff) | |
download | gentoo-2-0fb794bae0f3e7a7004d3d73f986ad800d36a9ee.tar.gz gentoo-2-0fb794bae0f3e7a7004d3d73f986ad800d36a9ee.tar.bz2 gentoo-2-0fb794bae0f3e7a7004d3d73f986ad800d36a9ee.zip |
update banned list of src funcs install_cert is banned in, and upgrade the call to a `die`
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ssl-cert.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass index ad33f3023123..e082e9519398 100644 --- a/eclass/ssl-cert.eclass +++ b/eclass/ssl-cert.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.22 2014/03/20 19:30:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.23 2014/03/20 19:32:09 vapier Exp $ # @ECLASS: ssl-cert.eclass # @MAINTAINER: @@ -192,9 +192,9 @@ install_cert() { fi case ${EBUILD_PHASE} in - unpack|compile|test|install) - eerror "install_cert cannot be called in ${EBUILD_PHASE}" - return 1 ;; + unpack|prepare|configure|compile|test|install) + die "install_cert cannot be called in ${EBUILD_PHASE}" + ;; esac # Generate a CA environment #164601 |