]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix shell pattern negation in compile script.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Aug 2010 05:54:38 +0000 (07:54 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Aug 2010 05:54:38 +0000 (07:54 +0200)
* lib/compile (func_file_conv): Use `!' not `^' for pattern
negation.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/compile

index 20adef2d7e2f89fbeea89122db4a0e3b895b6f37..b280c89a5b381e472b984673f12ad417f96fd888 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Fix shell pattern negation in compile script.
+       * lib/compile (func_file_conv): Use `!' not `^' for pattern
+       negation.
+
 2010-08-01  Peter Rosin  <peda@lysator.liu.se>
 
        Wrap some MSVC options in the compile script.
index ae47d8bcf0cbd107950d0427746151d94e84ad0b..bdb4ccbb518a5da6777c3715e49d87a31ddfbd04 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand `-c -o'.
 
-scriptversion=2010-08-01.07; # UTC
+scriptversion=2010-08-07.06; # UTC
 
 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software
 # Foundation, Inc.
@@ -45,7 +45,7 @@ func_file_conv ()
 {
   file=$1
   case $file in
-    / | /[^/]*) # absolute file, and not a UNC file
+    / | /[!/]*) # absolute file, and not a UNC file
       if test -z "$file_conv"; then
        # lazily determine how to convert abs files
        case `uname -s` in