changeset 29951:e5f773018c7b

posix-shell.m4: fix typo that made this test malfunction * m4/posix-shell.m4: Remove capitalization in variable name.
author Jim Meyering <meyering@redhat.com>
date Wed, 09 Jul 2008 11:53:32 +0200
parents 7cd5bceb5a52
children 8ddb5699ce12
files ChangeLog m4/posix-shell.m4
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 08 12:18:03 2008 +0200
+++ b/ChangeLog	Wed Jul 09 11:53:32 2008 +0200
@@ -1,3 +1,8 @@
+2008-07-09  Jim Meyering  <meyering@redhat.com>
+
+	posix-shell.m4: fix typo that made this test malfunction
+	* m4/posix-shell.m4: Remove capitalization in variable name.
+
 2008-07-08  Bruno Haible  <bruno@clisp.org>
 
 	* m4/onceonly.m4: Update comments.
--- a/m4/posix-shell.m4	Tue Jul 08 12:18:03 2008 +0200
+++ b/m4/posix-shell.m4	Wed Jul 09 11:53:32 2008 +0200
@@ -1,6 +1,6 @@
 # Find a POSIX-conforming shell.
 
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007-2008 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -15,7 +15,7 @@
 AC_DEFUN([gl_POSIX_SHELL],
 [
   AC_CACHE_CHECK([for a shell that conforms to POSIX], [gl_cv_posix_shell],
-    [gl_test_POSIX_SHELL='
+    [gl_test_posix_shell_script='
        func_return () {
 	 (exit [$]1)
        }
@@ -42,7 +42,8 @@
 	 "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do
        case $gl_cv_posix_shell in
          /*)
-	   "$gl_cv_posix_shell" -c "$gl_test_POSIX_shell" 2>/dev/null && break;;
+	   "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \
+	     && break;;
        esac
      done])