[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:23:12 -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 db79b14481 * tp/maintain/regenerate_non_ascii_tar_file.sh: Check
output of "tar --usage" in attempt to check if tar --sort=name is supported.
db79b14481 is described below
commit db79b14481f6abd708a44ab1ee3540c2f3bdd458
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Nov 18 20:22:58 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.
---
tp/maintain/regenerate_non_ascii_tar_file.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tp/maintain/regenerate_non_ascii_tar_file.sh
b/tp/maintain/regenerate_non_ascii_tar_file.sh
index befe7ab2b2..fd29a91497 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 && tar --usage | grep [-]-sort
+if tar --version | grep "GNU tar" >/dev/null \
+ && tar --usage | grep [-]-sort >/dev/null
then
# Used with GNU tar to try to get a reproducible file.
# See https://reproducible-builds.org/docs/archives/.