changeset 12886:669be24131c1

ChangeLog: add entry for "init.sh: improve portability and efficiency"
author Jim Meyering <meyering@redhat.com>
date Mon, 22 Feb 2010 08:50:24 +0100
parents 94fe36379d80
children 1015aee00ece
files ChangeLog
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 22 02:57:50 2010 +0100
+++ b/ChangeLog	Mon Feb 22 08:50:24 2010 +0100
@@ -81,6 +81,14 @@
 
 2010-02-15  Jim Meyering  <meyering@redhat.com>
 
+	init.sh: improve portability and efficiency
+	* tests/init.sh (find_exe_basenames_): Remove unnecessary use of
+	"dummy" in a for loop.
+	Use '!', not '^' to select the complement of a character set used
+	in a "case" statement.
+	Use shell variable manipulation, a la ${...%.exe}, rather than sed.
+	Suggestions from Eric Blake.
+
 	maint.mk: mark syntax-check sc_*.m rules as .PHONY
 	* top/maint.mk ($(syntax-check-rules)): Add .PHONY, so that
 	"make -t syntax-check" doesn't create a ton of sc_*.m files.