From: Alexandre Duret-Lutz Date: Wed, 21 Jul 2004 17:44:06 +0000 (+0000) Subject: * automake.in (check_directory): Quote $dir in regexp. X-Git-Tag: Release-1-9~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b294d1128c420ff40d282b1a21f3d84565aad95;p=thirdparty%2Fautomake.git * automake.in (check_directory): Quote $dir in regexp. --- diff --git a/ChangeLog b/ChangeLog index e4b05b489..ba9328a43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-07-21 Andreas Schwab (tiny change) + + * automake.in (check_directory): Quote $dir in regexp. + 2004-07-17 Alexandre Duret-Lutz * configure.ac, NEWS: Bump version to 1.8e. diff --git a/automake.in b/automake.in index 95bc7a38a..3f3f15d93 100755 --- a/automake.in +++ b/automake.in @@ -3604,7 +3604,7 @@ sub check_directory ($$) # since it's tempting to use it as an AC_CONFIG_AUX_DIR. msg ('portability', $where, "name `$dir' is reserved on W32 and DOS platforms") - if grep (/^$dir$/i, qw/aux lpt1 lpt2 lpt3 com1 com2 com3 com4 con prn/); + if grep (/^\Q$dir\E$/i, qw/aux lpt1 lpt2 lpt3 com1 com2 com3 com4 con prn/); } # check_directories_in_var ($VARIABLE)