From 604d0391ba2d372f8de6efd364e9978fb11e4f92 Mon Sep 17 00:00:00 2001 From: Amitai Schlair Date: Sun, 14 Jun 2015 21:35:51 -0400 Subject: Squelch regex deprecation warnings from Perl 5.22. Specifically: "Unescaped left brace in regex is deprecated, passed through in regex" --- pm_filter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pm_filter') 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"; } -- cgit v1.2.3