]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* automake.in (check_directory): Quote $dir in regexp.
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 21 Jul 2004 17:44:06 +0000 (17:44 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Wed, 21 Jul 2004 17:44:06 +0000 (17:44 +0000)
ChangeLog
automake.in

index e4b05b48918fd94506b1bfa724fce80dca6d39d1..ba9328a437e4b300288588d5fc990ccd975e46b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 95bc7a38ae4da1c05225ac6bf6022d39bc1126a3..3f3f15d9381fd55f09516db94ca82a2f5cebb1ae 100755 (executable)
@@ -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)