FreeBSD Bugzilla – Attachment 168603 Details for
Bug 208272
ports-mgmt/portlint: spurious warning without PORTSDIR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that should fix it
portlint-noportsdir.txt (text/plain), 457 bytes, created by
Baptiste Daroussin
on 2016-03-25 08:09:29 UTC
(
hide
)
Description:
Patch that should fix it
Filename:
MIME Type:
Creator:
Baptiste Daroussin
Created:
2016-03-25 08:09:29 UTC
Size:
457 bytes
patch
obsolete
>Index: ports-mgmt/portlint/src/portlint.pl >=================================================================== >--- ports-mgmt/portlint/src/portlint.pl (revision 411822) >+++ ports-mgmt/portlint/src/portlint.pl (working copy) >@@ -1172,6 +1172,7 @@ > > # Check port dir existence > $k = $m{'dir'}; >+ $k =~ s/^([^\$].*)/$ENV{'PORTSDIR'}/; > $k =~ s/\$\{PORTSDIR}/$ENV{'PORTSDIR'}/; > $k =~ s/\$[\({]PORTSDIR[\)}]/$ENV{'PORTSDIR'}/; > if (! -d $k) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208272
: 168603