summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2004-07-21 17:44:06 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2004-07-21 17:44:06 +0000
commit2b294d1128c420ff40d282b1a21f3d84565aad95 (patch)
treeec22964066ae637c3b58fd309cc1971f46bdb776
parentb333cd222f863e00f934c8a60e842b8172605349 (diff)
downloadautomake-2b294d1128c420ff40d282b1a21f3d84565aad95.tar.gz
* automake.in (check_directory): Quote $dir in regexp.
-rw-r--r--ChangeLog4
-rwxr-xr-xautomake.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e4b05b489..ba9328a43 100644
--- 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.
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)