summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint/src
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2017-12-07 11:26:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2017-12-07 11:26:19 +0000
commit09bc0795904fab099145eda8021b93b97ae76228 (patch)
tree2c4f9d76c952c291845a824a7799345595a5be91 /ports-mgmt/portlint/src
parentTilda uses wrong ps flag on start (diff)
Emergency update to 2.17.14.
Escape a variable in an RE to prevent corruption. Submitted by: gahr
Notes
Notes: svn path=/head/; revision=455703
Diffstat (limited to 'ports-mgmt/portlint/src')
-rw-r--r--ports-mgmt/portlint/src/portlint.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index 4043796b0816..f11422d5d09e 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -15,7 +15,7 @@
# was removed.
#
# $FreeBSD$
-# $MCom: portlint/portlint.pl,v 1.430 2017/10/08 17:56:03 jclarke Exp $
+# $MCom: portlint/portlint.pl,v 1.432 2017/12/07 03:23:53 jclarke Exp $
#
use strict;
@@ -50,7 +50,7 @@ $portdir = '.';
# version variables
my $major = 2;
my $minor = 17;
-my $micro = 13;
+my $micro = 14;
# default setting - for FreeBSD
my $portsdir = '/usr/ports';
@@ -3440,7 +3440,7 @@ sub abspathname {
# MASTER_SITE_SUBDIR lines are ok.
$i = '';
}
- if ($s =~ /\$\{[^}]*?$i/) {
+ if ($s =~ /\$\{[^}]*?\Q$i\E/) {
# If we're inside a make variable, we probably do not have
# an absolute path.
$i = '';