From e51702f0727a83f80acdc3ed1921c228c0b15f46 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 27 Dec 2015 09:33:20 +0100 Subject: check-reqs.eclass: Only inherit eclass once Signed-off-by: Justin Lecher --- eclass/check-reqs.eclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'eclass') diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index d685f1f760fd..4f745369f8a9 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -38,6 +38,8 @@ # These checks should probably mostly work on non-Linux, and they should # probably degrade gracefully if they don't. Probably. +if [[ ! ${_CHECK_REQS_ECLASS_} ]]; then + inherit eutils # @ECLASS-VARIABLE: CHECKREQS_MEMORY @@ -353,3 +355,6 @@ check-reqs_unsatisfied() { # Internal, do not set yourself. CHECKREQS_FAILED="true" } + +_CHECK_REQS_ECLASS_=1 +fi -- cgit v1.2.3-65-gdbad