[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/maintain/regenerate_non_ascii_tar_file.sh: C
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/maintain/regenerate_non_ascii_tar_file.sh: Check output of "tar --usage" in attempt to check if tar --sort=name is supported. |
Date: |
Mon, 18 Nov 2024 15:21:30 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new d9e79d0a96 * tp/maintain/regenerate_non_ascii_tar_file.sh: Check
output of "tar --usage" in attempt to check if tar --sort=name is supported.
d9e79d0a96 is described below
commit d9e79d0a967cb23590c01a0d1d376437be64d92b
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Nov 18 20:21:19 2024 +0000
* tp/maintain/regenerate_non_ascii_tar_file.sh:
Check output of "tar --usage" in attempt to check if
tar --sort=name is supported.
---
ChangeLog | 6 ++++++
tp/maintain/regenerate_non_ascii_tar_file.sh | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 59415e483c..72006b41be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-11-18 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/maintain/regenerate_non_ascii_tar_file.sh:
+ Check output of "tar --usage" in attempt to check if
+ tar --sort=name is supported.
+
2024-11-18 Gavin Smith <gavinsmith0123@gmail.com>
* tp/maintain/regenerate_non_ascii_tar_file.sh:
diff --git a/tp/maintain/regenerate_non_ascii_tar_file.sh
b/tp/maintain/regenerate_non_ascii_tar_file.sh
index 6c1e303a30..befe7ab2b2 100755
--- a/tp/maintain/regenerate_non_ascii_tar_file.sh
+++ b/tp/maintain/regenerate_non_ascii_tar_file.sh
@@ -21,7 +21,8 @@ if test -d $input ; then true ; else
exit 1
fi
-if tar --version | grep "GNU tar" >/dev/null ; then
+if tar --version | grep "GNU tar" >/dev/null && tar --usage | grep [-]-sort
+then
# Used with GNU tar to try to get a reproducible file.
# See https://reproducible-builds.org/docs/archives/.
TAR_BUNDLE_DATE=2024-11-18T00:00
@@ -30,5 +31,7 @@ else
TAR_BUNDLE_FLAGS=
fi
+#set -x
+
tar cf non_ascii.tar $input $TAR_BUNDLE_FLAGS
- branch master updated: * tp/maintain/regenerate_non_ascii_tar_file.sh: Check output of "tar --usage" in attempt to check if tar --sort=name is supported.,
Gavin D. Smith <=