diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-09 22:19:15 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-09 22:19:15 +0000 |
commit | 138c7e3cd29f32c4c58760c06a3be5ac535509d4 (patch) | |
tree | 28f04183d29c8af2bd67b67c810232af2b5c91a7 /CVSROOT/log_accum.pl | |
parent | eaca7ec1d9ec83f601cef4928bc8f7af4990aa0e (diff) | |
download | FreeBSD-ports-138c7e3cd29f32c4c58760c06a3be5ac535509d4.zip FreeBSD-ports-138c7e3cd29f32c4c58760c06a3be5ac535509d4.tar.gz |
Escapemetacharacters in directory name so perl doesn't blow chunks on libg++.
CVS:
Diffstat (limited to 'CVSROOT/log_accum.pl')
-rwxr-xr-x | CVSROOT/log_accum.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl index 73bf32f..1ad3aa8 100755 --- a/CVSROOT/log_accum.pl +++ b/CVSROOT/log_accum.pl @@ -370,7 +370,9 @@ for ($i = 0; ; $i++) { # if (-e "$LAST_FILE.$id") { $_ = &read_line("$LAST_FILE.$id"); - exit 0 if (! grep(/$files[0]$/, $_)); + $tmpfiles=$files[0]; + $tmpfiles =~ s,([^a-zA-Z0-9_/]),\\$1,g; + exit 0 if (! grep(/$tmpfiles$/, $_)); } # |