mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-06 01:41:35 +01:00
eclass/vcs-clean: Support EAPI 0 and 4
This commit is contained in:
parent
d410c427d4
commit
1737fd14c5
@ -1,16 +1,18 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Flatcar: Support EAPI 0 and 4.
|
||||||
|
|
||||||
# @ECLASS: vcs-clean.eclass
|
# @ECLASS: vcs-clean.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# base-system@gentoo.org
|
# base-system@gentoo.org
|
||||||
# @AUTHOR:
|
# @AUTHOR:
|
||||||
# Benedikt Böhm <hollow@gentoo.org>
|
# Benedikt Böhm <hollow@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 5 6 7
|
# @SUPPORTED_EAPIS: 0 4 5 6 7
|
||||||
# @BLURB: helper functions to remove VCS directories
|
# @BLURB: helper functions to remove VCS directories
|
||||||
|
|
||||||
case ${EAPI:-0} in
|
case ${EAPI:-0} in
|
||||||
[567]) ;;
|
[04567]) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user