aboutsummaryrefslogtreecommitdiff
path: root/pm_filter
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2015-06-14 21:35:51 -0400
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2015-06-14 21:35:51 -0400
commit604d0391ba2d372f8de6efd364e9978fb11e4f92 (patch)
tree4b3ff699f098f77dfe64a38c27ae993317206550 /pm_filter
parent650ba28851f68f30fec1cb0caecfe06cc4f13785 (diff)
downloadikiwiki-604d0391ba2d372f8de6efd364e9978fb11e4f92.tar
ikiwiki-604d0391ba2d372f8de6efd364e9978fb11e4f92.tar.gz
Squelch regex deprecation warnings from Perl 5.22.
Specifically: "Unescaped left brace in regex is deprecated, passed through in regex"
Diffstat (limited to 'pm_filter')
-rwxr-xr-xpm_filter2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm_filter b/pm_filter
index 1e51f9dd3..8e1480564 100755
--- a/pm_filter
+++ b/pm_filter
@@ -28,6 +28,6 @@ elsif (/^use lib/) {
elsif ($. == 1 && ($ENV{NOTAINT}=0) && m{^(#!.*perl.*?)$}) {
$_=qq{$1 -T\n};
}
-elsif (/^\$ENV{PATH}="(.*)";/) {
+elsif (/^\$ENV\{PATH}="(.*)";/) {
$_="\$ENV{PATH}=\"$1:$prefix/bin\";\n";
}