mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
eclass/mercurial: Sync with Gentoo
It's from Gentoo commit c8af7eb1285a2683460618b71e2e9a14ca6badcd.
This commit is contained in:
parent
4f20112e47
commit
348f47eb8f
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: mercurial.eclass
|
# @ECLASS: mercurial.eclass
|
||||||
@ -100,7 +100,7 @@ EHG_OFFLINE="${EHG_OFFLINE:-${EVCS_OFFLINE}}"
|
|||||||
# EHG_CHECKOUT_DIR, which defaults to S.
|
# EHG_CHECKOUT_DIR, which defaults to S.
|
||||||
|
|
||||||
mercurial_fetch() {
|
mercurial_fetch() {
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
debug-print-function ${FUNCNAME} "$@"
|
||||||
|
|
||||||
EHG_REPO_URI=${1-${EHG_REPO_URI}}
|
EHG_REPO_URI=${1-${EHG_REPO_URI}}
|
||||||
[[ -z "${EHG_REPO_URI}" ]] && die "EHG_REPO_URI is empty"
|
[[ -z "${EHG_REPO_URI}" ]] && die "EHG_REPO_URI is empty"
|
||||||
|
Loading…
Reference in New Issue
Block a user