Revision: 71020 http://trac.macports.org/changeset/71020 Author: wsiegrist@apple.com Date: 2010-08-29 18:04:16 -0700 (Sun, 29 Aug 2010) Log Message: ----------- Fix regex to match svnlook output Modified Paths: -------------- trunk/base/portmgr/jobs/portfile_lint.pl Modified: trunk/base/portmgr/jobs/portfile_lint.pl =================================================================== --- trunk/base/portmgr/jobs/portfile_lint.pl 2010-08-30 00:20:32 UTC (rev 71019) +++ trunk/base/portmgr/jobs/portfile_lint.pl 2010-08-30 01:04:16 UTC (rev 71020) @@ -32,7 +32,7 @@ if ($change =~ /Portfile/) { # remove svn status and whitespace chop($change); - $change =~ s/\w\s+([\/\w]+)/$1/g; + $change =~ s/[ADU_][\sU]\s\s([\/\w]+)/$1/g; # extract the portname from parent dir of Portfile my $port = $change; $port =~ s/^.*\/([^\/]+)\/Portfile$/$1/g;
participants (1)
-
wsiegrist@apple.com