[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] posix-shell.m4: fix typo that made this test malfunction
From: |
Jim Meyering |
Subject: |
[PATCH] posix-shell.m4: fix typo that made this test malfunction |
Date: |
Wed, 09 Jul 2008 12:14:46 +0200 |
Without this change, the test would run each shell with
an empty script (-c ""):
>From 8888fd9fb268b3954eb94c39dda292a17bf958f8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 9 Jul 2008 11:53:32 +0200
Subject: [PATCH] posix-shell.m4: fix typo that made this test malfunction
* m4/posix-shell.m4: Remove capitalization in variable name.
---
ChangeLog | 5 +++++
m4/posix-shell.m4 | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6f9c119..8b6f1a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-09 Jim Meyering <address@hidden>
+
+ posix-shell.m4: fix typo that made this test malfunction
+ * m4/posix-shell.m4: Remove capitalization in variable name.
+
2008-07-03 Ondřej Vašík <address@hidden>
getdate.y: do not ignore TZ with relative day, month or year offset
diff --git a/m4/posix-shell.m4 b/m4/posix-shell.m4
index ac526d5..7f3b1e9 100644
--- a/m4/posix-shell.m4
+++ b/m4/posix-shell.m4
@@ -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 @@ AC_DEFUN([gl_POSIX_SHELL],
"$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])
--
1.5.6.2
- [PATCH] posix-shell.m4: fix typo that made this test malfunction,
Jim Meyering <=