From f34c6b178e9c47caa05580c9f2e6b7de85f75b52 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 21 Dec 2021 10:57:46 +0100 Subject: [PATCH] eclass/strip-linguas: Support EAPI 0 and 4 --- .../portage-stable/eclass/strip-linguas.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/strip-linguas.eclass b/sdk_container/src/third_party/portage-stable/eclass/strip-linguas.eclass index 718341b4a6..2513b2e608 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/strip-linguas.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/strip-linguas.eclass @@ -1,16 +1,18 @@ # Copyright 2004-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Flatcar: Support EAPI 0 and 4. + # @ECLASS: strip-linguas.eclass # @MAINTAINER: # Ulrich Müller # @AUTHOR: # Mike Frysinger -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 0 4 5 6 7 8 # @BLURB: convenience function for LINGUAS support -case ${EAPI} in - 5|6|7|8) ;; +case ${EAPI:-0} in + 0|4|5|6|7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac