commit 9a37aa0995a31423de90e3cbdbebcfd778a63e78 parent d61a2058c66022a5ca98dff1f685f8bd1068049e Author: Vincent Forest <vincent.forest@meso-star.com> Date: Tue, 9 Jun 2026 14:42:15 +0200 Upd the "git" Makefile template to support dumb transport Diffstat:
| M | src/misc/git.mk.in | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/misc/git.mk.in b/src/misc/git.mk.in @@ -43,7 +43,8 @@ mirror_@NAME@: repo="$$(echo "@URL@" | sed 's/[\/]\{0,\}$$//g')" && \ repo="$(MIRROR)/$${repo##*/}" && \ rm -rf "$${repo}" && \ - git clone --bare --branch @TAG@ $(MIRROR_GIT_OPT) @URL@ "$${repo}" + git clone --bare --branch @TAG@ $(MIRROR_GIT_OPT) @URL@ "$${repo}" || \ + git clone @URL@ "$${repo}" # Fallback for dumb http transport clean_all: clean_@NAME@ install_all: @NAME@