From: Ralf Wildenhues Date: Sat, 7 Aug 2010 05:54:38 +0000 (+0200) Subject: Fix shell pattern negation in compile script. X-Git-Tag: ng-0.5a~388^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=265e34202672a00d701fe337076451ae89010e59;p=thirdparty%2Fautomake.git Fix shell pattern negation in compile script. * lib/compile (func_file_conv): Use `!' not `^' for pattern negation. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 20adef2d7..b280c89a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-07 Ralf Wildenhues + + Fix shell pattern negation in compile script. + * lib/compile (func_file_conv): Use `!' not `^' for pattern + negation. + 2010-08-01 Peter Rosin Wrap some MSVC options in the compile script. diff --git a/lib/compile b/lib/compile index ae47d8bcf..bdb4ccbb5 100755 --- a/lib/compile +++ b/lib/compile @@ -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