summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-01-22 13:33:21 +0100
committerDavid Seifert <soap@gentoo.org>2022-01-22 13:33:21 +0100
commita3a90e4609fba0ace7b38c5285fb0a3536b0e7d4 (patch)
tree7973b4336bdb32e30f89bd2d5cad0c82d2191c0f /eclass/out-of-source.eclass
parentout-of-source.eclass: remove EAPI 6 (diff)
downloadgentoo-a3a90e4609fba0ace7b38c5285fb0a3536b0e7d4.tar.gz
gentoo-a3a90e4609fba0ace7b38c5285fb0a3536b0e7d4.tar.bz2
gentoo-a3a90e4609fba0ace7b38c5285fb0a3536b0e7d4.zip
out-of-source.eclass: canonical variable ordering
Closes: https://github.com/gentoo/gentoo/pull/23910 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/out-of-source.eclass')
-rw-r--r--eclass/out-of-source.eclass6
1 files 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