public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] linux-patches r1959 - genpatches-2.6-misc/web
@ 2011-08-09 12:52 Mike Pagano (mpagano)
  0 siblings, 0 replies; only message in thread
From: Mike Pagano (mpagano) @ 2011-08-09 12:52 UTC (permalink / raw
  To: gentoo-commits

Author: mpagano
Date: 2011-08-09 12:52:53 +0000 (Tue, 09 Aug 2011)
New Revision: 1959

Modified:
   genpatches-2.6-misc/web/email-announcement.pl
Log:
Add support for genpatches email for >= 3.0 kernels

Modified: genpatches-2.6-misc/web/email-announcement.pl
===================================================================
--- genpatches-2.6-misc/web/email-announcement.pl	2011-08-06 15:33:41 UTC (rev 1958)
+++ genpatches-2.6-misc/web/email-announcement.pl	2011-08-09 12:52:53 UTC (rev 1959)
@@ -7,9 +7,16 @@
 $tag = shift;
 $kernel_name = shift;
 
-$tag =~ m/(2\.6\.\d+)-(\d+)/;
-$ver = $1;
-$rel = $2;
+if ($tag =~ m/(2\.6\.\d+)-(\d+)/) {
+    $ver = $1;
+    $rel = $2;
+}
+else { # support for kernels >= 3.0
+    $tag =~ m/(\d+\.\d+)-(\d+)/;
+    $ver = $1;
+    $rel = $2;
+}
+
 $have_history = 0;
 
 # Try and find previous release




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-09 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 12:52 [gentoo-commits] linux-patches r1959 - genpatches-2.6-misc/web Mike Pagano (mpagano)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox