libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.10-191-g92d9818


From: Peter Rosin
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-191-g92d9818
Date: Fri, 17 Sep 2010 20:32:38 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  92d9818d7eb8ca4bb1bc775cd397255beb2481d8 (commit)
      from  a93b8481087b3eb9675ea9e6ca15b09e7e6901ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 92d9818d7eb8ca4bb1bc775cd397255beb2481d8
Author: Peter Rosin <address@hidden>
Date:   Fri Sep 17 22:31:08 2010 +0200

    tests: actually detect missing 'test' in 'if "$foo" = ...'.
    
    * tests/sh.test: Remove extra backslash in regex.
    
    Signed-off-by: Peter Rosin <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog     |    3 +++
 tests/sh.test |    6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 514a20e..e6984ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-09-17  Peter Rosin  <address@hidden>
 
+       tests: actually detect missing 'test' in 'if "$foo" = ...'.
+       * tests/sh.test: Remove extra backslash in regex.
+
        Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32.
        * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2]
        [pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++.
diff --git a/tests/sh.test b/tests/sh.test
index 6d2fa20..5324b31 100755
--- a/tests/sh.test
+++ b/tests/sh.test
@@ -2,8 +2,8 @@
 # sh.test - check for some nonportable or dubious or undesired shell
 #           constructs in shell scripts.
 #
-#   Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software
-#   Foundation, Inc.
+#   Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free
+#   Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2003
 #
 #   This file is part of GNU Libtool.
@@ -31,7 +31,7 @@
 status=$EXIT_SUCCESS
 
 # Check for bad binary operators.
-if $EGREP -n -e 'if[   ]+["'\'']?\\$[^         ]+[     
]+(=|-[lg][te]|-eq|-ne)' $scripts; then
+if $EGREP -n -e 'if[   ]+["'\'']?\$[^  ]+[     ]+(=|-[lg][te]|-eq|-ne)' 
$scripts; then
   echo "use \`if test \$something =' instead of \`if \$something ='"
   status=$EXIT_FAILURE
 fi


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]