[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Thu, 29 Aug 2024 15:45:37 -0400 (EDT) |
branch: release/7.1
commit 13ff9d48c0c86eea185a73f9cfe153de6720cf5a
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).
---
ChangeLog | 7 +++++++
install-info/tests/defs.in | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 66875dd2a6..78592d95e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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).
+
2024-08-08 Bruno Haible <bruno@clisp.org>
* texindex/Makefile.am (texindex.awk): Move the generated
diff --git a/install-info/tests/defs.in b/install-info/tests/defs.in
index 0eeec6ac5d..37f90dbaf3 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