[71020] trunk/base/portmgr/jobs/portfile_lint.pl

wsiegrist at apple.com wsiegrist at apple.com
Sun Aug 29 18:04:16 PDT 2010


Revision: 71020
          http://trac.macports.org/changeset/71020
Author:   wsiegrist at 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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100829/4057a7bd/attachment.html>


More information about the macports-changes mailing list