mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
eclass/vcs-snapshot: Sync with Gentoo
It's from Gentoo commit c8af7eb1285a2683460618b71e2e9a14ca6badcd.
This commit is contained in:
parent
c744441ead
commit
a63a7d86c6
@ -47,7 +47,7 @@ case ${EAPI} in
|
|||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ ! ${_VCS_SNAPSHOT_ECLASS} ]]; then
|
if [[ -z ${_VCS_SNAPSHOT_ECLASS} ]]; then
|
||||||
_VCS_SNAPSHOT_ECLASS=1
|
_VCS_SNAPSHOT_ECLASS=1
|
||||||
|
|
||||||
# @FUNCTION: vcs-snapshot_src_unpack
|
# @FUNCTION: vcs-snapshot_src_unpack
|
||||||
@ -57,7 +57,7 @@ _VCS_SNAPSHOT_ECLASS=1
|
|||||||
# local names. Other archive types will be passed down to regular
|
# local names. Other archive types will be passed down to regular
|
||||||
# unpack.
|
# unpack.
|
||||||
vcs-snapshot_src_unpack() {
|
vcs-snapshot_src_unpack() {
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
debug-print-function ${FUNCNAME} "$@"
|
||||||
|
|
||||||
local renamed_any=
|
local renamed_any=
|
||||||
local f
|
local f
|
||||||
|
Loading…
Reference in New Issue
Block a user