From f8a4a054965da520b295b8249b4324b271b8ca93 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 31 Aug 2009 23:01:55 +0200 Subject: [PATCH] Fix test whether $CONFIG_SHELL has a working 'echo' command. --- ChangeLog | 5 +++++ gnulib-tool | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4883188d7f..fc9a3d2684 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-31 Stefano Lattarini (tiny change) + + * gnulib-tool: Fix test whether $CONFIG_SHELL has a working 'echo' + command. + 2009-08-31 Jim Meyering canonicalize: remove useless initialization diff --git a/gnulib-tool b/gnulib-tool index ea451ec4c4..c7f31b2daa 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -703,7 +703,7 @@ if test -z "$have_echo" \ && test "X$1" != "X--no-reexec" \ && test -n "$CONFIG_SHELL" \ && test -f "$CONFIG_SHELL" \ - && $CONFIG_SHELL -c 'echo '\t' | grep t > /dev/null'; then + && $CONFIG_SHELL -c "echo '\\t' | grep t > /dev/null"; then exec $CONFIG_SHELL "$0" --no-reexec "$@" exit 127 fi -- 2.30.2