diff options
author | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:15 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:15 +0100 |
commit | 6aaf76e545af2f9489295c214673897994a4ce31 (patch) | |
tree | be1491f4f68a172d83783389c00772fff7f24d70 /eclass/vcs-snapshot.eclass | |
parent | vcs-snapshot.eclass: remove EAPI 0-5 (diff) | |
download | gentoo-6aaf76e545af2f9489295c214673897994a4ce31.tar.gz gentoo-6aaf76e545af2f9489295c214673897994a4ce31.tar.bz2 gentoo-6aaf76e545af2f9489295c214673897994a4ce31.zip |
vcs-snapshot.eclass: canonical variable ordering
Closes: https://github.com/gentoo/gentoo/pull/24013
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/vcs-snapshot.eclass')
-rw-r--r-- | eclass/vcs-snapshot.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass index 0e86cb4ad51f..64bc1da040f4 100644 --- a/eclass/vcs-snapshot.eclass +++ b/eclass/vcs-snapshot.eclass @@ -47,7 +47,8 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -EXPORT_FUNCTIONS src_unpack +if [[ ! ${_VCS_SNAPSHOT_ECLASS} ]]; then +_VCS_SNAPSHOT_ECLASS=1 # @FUNCTION: vcs-snapshot_src_unpack # @DESCRIPTION: @@ -110,3 +111,7 @@ vcs-snapshot_src_unpack() { [[ ${w} == eerror ]] && die "${FUNCNAME}: Unnecessary usage detected" fi } + +fi + +EXPORT_FUNCTIONS src_unpack |