diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2004-07-21 17:44:06 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2004-07-21 17:44:06 +0000 |
commit | 2b294d1128c420ff40d282b1a21f3d84565aad95 (patch) | |
tree | ec22964066ae637c3b58fd309cc1971f46bdb776 | |
parent | b333cd222f863e00f934c8a60e842b8172605349 (diff) | |
download | automake-2b294d1128c420ff40d282b1a21f3d84565aad95.tar.gz |
* automake.in (check_directory): Quote $dir in regexp.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | automake.in | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2004-07-21 Andreas Schwab <schwab@suse.de> (tiny change) + + * automake.in (check_directory): Quote $dir in regexp. + 2004-07-17 Alexandre Duret-Lutz <adl@gnu.org> * 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) |