/[linux-patches]/genpatches-2.6-misc/web/email-announcement.pl
Gentoo

Diff of /genpatches-2.6-misc/web/email-announcement.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1958 Revision 1959
5use gentoo_sources_web; 5use gentoo_sources_web;
6 6
7$tag = shift; 7$tag = shift;
8$kernel_name = shift; 8$kernel_name = shift;
9 9
10$tag =~ m/(2\.6\.\d+)-(\d+)/; 10if ($tag =~ m/(2\.6\.\d+)-(\d+)/) {
11$ver = $1; 11 $ver = $1;
12$rel = $2; 12 $rel = $2;
13}
14else { # support for kernels >= 3.0
15 $tag =~ m/(\d+\.\d+)-(\d+)/;
16 $ver = $1;
17 $rel = $2;
18}
19
13$have_history = 0; 20$have_history = 0;
14 21
15# Try and find previous release 22# Try and find previous release
16if ($rel > 1) { 23if ($rel > 1) {
17 $oldtag = $ver.'-'.($rel-1); 24 $oldtag = $ver.'-'.($rel-1);

Legend:
Removed from v.1958  
changed lines
  Added in v.1959

  ViewVC Help
Powered by ViewVC 1.1.20