From 2b294d1128c420ff40d282b1a21f3d84565aad95 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Wed, 21 Jul 2004 17:44:06 +0000 Subject: [PATCH] * automake.in (check_directory): Quote $dir in regexp. --- ChangeLog | 4 ++++ automake.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.47.3