mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-05 17:32:09 +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
|
||||
# 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 <hollow@gentoo.org>
|
||||
# @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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user