summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-10-08 17:31:51 +0200
committerDavid Seifert <soap@gentoo.org>2024-10-08 17:31:51 +0200
commitec9bd064a3b2e495970f49d751d57ca62fa77b84 (patch)
tree0a1a294097c36a0874a30275e2d199a4259e0741 /eclass/linux-mod-r1.eclass
parentxdg.eclass: drop support for EAPI 6 (diff)
downloadgentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.tar.gz
gentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.tar.bz2
gentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.zip
eclass: standardize inherit guard
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/linux-mod-r1.eclass')
-rw-r--r--eclass/linux-mod-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
index 120fb019d74a..241cfc7886e9 100644
--- a/eclass/linux-mod-r1.eclass
+++ b/eclass/linux-mod-r1.eclass
@@ -106,7 +106,7 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-if [[ ! ${_LINUX_MOD_R1_ECLASS} ]]; then
+if [[ -z ${_LINUX_MOD_R1_ECLASS} ]]; then
_LINUX_MOD_R1_ECLASS=1
inherit dist-kernel-utils edo linux-info multiprocessing toolchain-funcs