summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragriffis <agriffis@gentoo.org>2005-07-12 21:00:27 +0000
committeragriffis <agriffis@gentoo.org>2005-07-12 21:00:27 +0000
commit8663f9fa971ef0d78b8f908654730580a1e3b8c4 (patch)
tree3cd2ce37d83f5735007465f374a5fe0cafd820ce
parenta367092ebf696a1175bcfe6f2cce113ec6aab749 (diff)
downloadgentoolkit-8663f9fa971ef0d78b8f908654730580a1e3b8c4.tar.gz
Wrap variable interpolation in \Q and \E in regex #92966
svn path=/; revision=225
-rw-r--r--trunk/src/echangelog/echangelog2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog
index a06115c..03b5f25 100644
--- a/trunk/src/echangelog/echangelog
+++ b/trunk/src/echangelog/echangelog
@@ -219,7 +219,7 @@ close C;
# When a package move occurs, the versions appear to be new even though they are
# not. Trim them from @new_versions in that case.
-@new_versions = grep { $text !~ /^\*$_\s/m } @new_versions;
+@new_versions = grep { $text !~ /^\*\Q$_\E\s/m } @new_versions;
# Check if we have any files left, otherwise re-insert ebuild list
# (of course, both might be empty anyway)