Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Eray Aslan <eras@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] ssl-cert.eclass: EAPI 8 support and add guard
Date: Tue, 14 Sep 2021 18:58:22
Message-Id: usfy7q91e@gentoo.org
In Reply to: [gentoo-dev] [PATCH] ssl-cert.eclass: EAPI 8 support and add guard by Eray Aslan
1 >>>>> On Tue, 14 Sep 2021, Eray Aslan wrote:
2
3 > +if [[ ! ${_SSL_CERT_ECLASS} ]]; then
4 > +
5 > # @ECLASS-VARIABLE: SSL_CERT_MANDATORY
6 > # @PRE_INHERIT
7 > # @DESCRIPTION:
8 > @@ -283,3 +285,6 @@ install_cert() {
9 > ewarn "Some requested certificates were not generated"
10 > fi
11 > }
12 > +
13 > +_SSL_CERT_ECLASS=1
14
15 Please make this the first statement in the "if" block. (At the moment
16 it doesn't matter, but it's less error prone in case another eclass will
17 be inherited later.)

Attachments

File name MIME type
signature.asc application/pgp-signature