[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: No 'local' in shell script
From: |
Gavin D. Smith |
Subject: |
branch master updated: No 'local' in shell script |
Date: |
Thu, 22 Aug 2024 12:38:51 -0400 |
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 d939b819cb No 'local' in shell script
d939b819cb is described below
commit d939b819cb67d420eaffe4899aff29310aa15fdd
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Aug 22 17:37:20 2024 +0100
No 'local' in shell script
* install-info/tests/defs.in (findprog): Remove use of
'local' for saving the value of IFS (input field separator).
On Solaris 10 there is a warning "local: not found" and it
is likely stopping IFS from being reset correctly, leading
to subsequent errors.
---
ChangeLog | 10 ++++++++++
install-info/tests/defs.in | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 1c890392a5..0deb16e368 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-08-22 Gavin Smith <gavinsmith0123@gmail.com>
+
+ No 'local' in shell script
+
+ * install-info/tests/defs.in (findprog): Remove use of
+ 'local' for saving the value of IFS (input field separator).
+ On Solaris 10 there is a warning "local: not found" and it
+ is likely stopping IFS from being reset correctly, leading
+ to subsequent errors.
+
2024-08-21 Patrice Dumas <pertusus@free.fr>
* doc/texinfo.texi: modify, reassociate and comment out
diff --git a/install-info/tests/defs.in b/install-info/tests/defs.in
index 30e70c08b2..17e0faa281 100644
--- a/install-info/tests/defs.in
+++ b/install-info/tests/defs.in
@@ -77,7 +77,7 @@ DIFF_OPTIONS="@DIFF_OPTIONS@"
# Return true if PROG is somewhere in PATH, else false.
findprog ()
{
- local saveIFS="$IFS"
+ saveIFS="$IFS"
IFS=$path_sep # break path components at the path separator
for dir in $PATH; do
IFS=$saveIFS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: No 'local' in shell script,
Gavin D. Smith <=