changeset 11919:6a1268d2cf2a

Fix test whether $CONFIG_SHELL has a working 'echo' command.
author Stefano Lattarini <stefano.lattarini@gmail.com>
date Mon, 31 Aug 2009 23:01:55 +0200
parents 904a452f5701
children 79f4b013feab
files ChangeLog gnulib-tool
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-31  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+	* gnulib-tool: Fix test whether $CONFIG_SHELL has a working 'echo'
+	command.
+
 2009-08-31  Jim Meyering  <meyering@redhat.com>
 
 	canonicalize: remove useless initialization
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -703,7 +703,7 @@
    && 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