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:
parent
64b3db6963
commit
09bc079590
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455703
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= portlint
|
||||
PORTVERSION= 2.17.13
|
||||
PORTVERSION= 2.17.14
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user