From 1737fd14c5f37174271bfc6fea6acc31870ce821 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 21 Dec 2021 10:58:33 +0100 Subject: [PATCH] eclass/vcs-clean: Support EAPI 0 and 4 --- .../src/third_party/portage-stable/eclass/vcs-clean.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/vcs-clean.eclass b/sdk_container/src/third_party/portage-stable/eclass/vcs-clean.eclass index 89f6b73218..4e01a72510 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/vcs-clean.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/vcs-clean.eclass @@ -1,16 +1,18 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Flatcar: Support EAPI 0 and 4. + # @ECLASS: vcs-clean.eclass # @MAINTAINER: # base-system@gentoo.org # @AUTHOR: # Benedikt Böhm -# @SUPPORTED_EAPIS: 5 6 7 +# @SUPPORTED_EAPIS: 0 4 5 6 7 # @BLURB: helper functions to remove VCS directories case ${EAPI:-0} in - [567]) ;; + [04567]) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac