Skip to content

Commit 0e1d928

Browse files
committed
Work on build-tarball: Improve efficiency of "git clone".
1 parent 4146251 commit 0e1d928

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

build-tarball.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ fi
3838

3939
# Apply patches.
4040
(cd "$package" && patch -p1 < ../patches/tests.diff)
41+
(cd "$package" && patch -p1 < ../patches/0001-Improve-efficiency-of-git-clone.patch)
4142

4243
if test $newest_gnulib = 1; then
4344
export GNULIB_SRCDIR=`pwd`/gnulib
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 36d78f8ca27e7fb24343d6922bfc0511d1ad84ce Mon Sep 17 00:00:00 2001
2+
From: Bruno Haible <bruno@clisp.org>
3+
Date: Mon, 8 Sep 2025 01:00:32 +0200
4+
Subject: [PATCH] Improve efficiency of "git clone".
5+
6+
---
7+
bootstrap-funclib.sh | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/bootstrap-funclib.sh b/bootstrap-funclib.sh
11+
index ba531140..ae459fdb 100644
12+
--- a/bootstrap-funclib.sh
13+
+++ b/bootstrap-funclib.sh
14+
@@ -35,7 +35,7 @@ export LC_ALL
15+
# Honor $PERL, but work even if there is none.
16+
PERL="${PERL-perl}"
17+
18+
-default_gnulib_url=https://git.savannah.gnu.org/git/gnulib.git
19+
+default_gnulib_url=https://https.git.savannah.gnu.org/git/gnulib.git
20+
21+
# Copyright year, for the --version output.
22+
copyright_year=`echo "$scriptlibversion" | sed -e 's/[^0-9].*//'`
23+
--
24+
2.50.1
25+

0 commit comments

Comments
 (0)