1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Emergency update to 2.17.14.

Escape a variable in an RE to prevent corruption.

Submitted by:	gahr
This commit is contained in:
Joe Marcus Clarke 2017-12-07 11:26:19 +00:00
parent 64b3db6963
commit 09bc079590
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455703
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= portlint
PORTVERSION= 2.17.13
PORTVERSION= 2.17.14
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none

View File

@ -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 = '';