[EMAIL PROTECTED] wrote:
Author: torsten
Date: Mon Jun 30 03:34:11 2008
New Revision: 672738

URL: http://svn.apache.org/viewvc?rev=672738&view=rev
Log:
allow for other suffixes than "-dev" or "-rc\d+" in our VERSION_STRING

Good idea, should make it to the trunk/ as well, IMO.

Modified:
    perl/modperl/branches/threading/Makefile.PL

Modified: perl/modperl/branches/threading/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/threading/Makefile.PL?rev=672738&r1=672737&r2=672738&view=diff
==============================================================================
--- perl/modperl/branches/threading/Makefile.PL (original)
+++ perl/modperl/branches/threading/Makefile.PL Mon Jun 30 03:34:11 2008
@@ -480,7 +480,7 @@
open my $fh, 'Changes';
     while (<$fh>) {
-        if (/^=item.*-(dev|rc\d+)/) {
+        if (/^=item\s+\Q$VERSION\E-(\w+)/) {
             $VERSION .= "-$1";
             last;
         }

--
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to