commit:     a3a90e4609fba0ace7b38c5285fb0a3536b0e7d4
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 22 12:33:21 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 22 12:33:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a90e46

out-of-source.eclass: canonical variable ordering

Closes: https://github.com/gentoo/gentoo/pull/23910
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 eclass/out-of-source.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/out-of-source.eclass b/eclass/out-of-source.eclass
index e03943b30402..81e03f3894db 100644
--- a/eclass/out-of-source.eclass
+++ b/eclass/out-of-source.eclass
@@ -37,9 +37,8 @@ case ${EAPI} in
        *) die "EAPI ${EAPI:-0} unsupported (too old)";;
 esac
 
-EXPORT_FUNCTIONS src_configure src_compile src_test src_install
-
 if [[ ! ${_OUT_OF_SOURCE_ECLASS} ]]; then
+_OUT_OF_SOURCE_ECLASS=1
 
 # @FUNCTION: out-of-source_src_configure
 # @DESCRIPTION:
@@ -121,5 +120,6 @@ out-of-source_src_install() {
        fi
 }
 
-_OUT_OF_SOURCE_ECLASS=1
 fi
+
+EXPORT_FUNCTIONS src_configure src_compile src_test src_install

Reply via email to