1 |
commit: a3a90e4609fba0ace7b38c5285fb0a3536b0e7d4 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 22 12:33:21 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 22 12:33:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a90e46 |
7 |
|
8 |
out-of-source.eclass: canonical variable ordering |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/23910 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
eclass/out-of-source.eclass | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/eclass/out-of-source.eclass b/eclass/out-of-source.eclass |
17 |
index e03943b30402..81e03f3894db 100644 |
18 |
--- a/eclass/out-of-source.eclass |
19 |
+++ b/eclass/out-of-source.eclass |
20 |
@@ -37,9 +37,8 @@ case ${EAPI} in |
21 |
*) die "EAPI ${EAPI:-0} unsupported (too old)";; |
22 |
esac |
23 |
|
24 |
-EXPORT_FUNCTIONS src_configure src_compile src_test src_install |
25 |
- |
26 |
if [[ ! ${_OUT_OF_SOURCE_ECLASS} ]]; then |
27 |
+_OUT_OF_SOURCE_ECLASS=1 |
28 |
|
29 |
# @FUNCTION: out-of-source_src_configure |
30 |
# @DESCRIPTION: |
31 |
@@ -121,5 +120,6 @@ out-of-source_src_install() { |
32 |
fi |
33 |
} |
34 |
|
35 |
-_OUT_OF_SOURCE_ECLASS=1 |
36 |
fi |
37 |
+ |
38 |
+EXPORT_FUNCTIONS src_configure src_compile src_test src_install |