OSDN Git Service

fix for Linux 3.0
authorMasanori Kobayasi <yasikoba@users.sourceforge.jp>
Wed, 24 Aug 2011 13:22:20 +0000 (22:22 +0900)
committerMasanori Kobayasi <yasikoba@users.sourceforge.jp>
Wed, 24 Aug 2011 13:22:20 +0000 (22:22 +0900)
bin/upd-kdoc-list.pl

index fa67405..a53ab69 100755 (executable)
@@ -33,7 +33,7 @@ $NEWKVER =~ s/^patch-//;
 unless (-f $OLDLIST) {die "$OLDLIST does not exist.\n"};
 unless (-f $K_PATCH) {die "$K_PATCH does not exist.\n"};
 
-unless ($NEWKVER =~ /^2\.([246])\.([1-9][0-9]?)/) {
+unless ($NEWKVER =~ /^[23]\.([0246])\.([1-9][0-9]?)/) {
     die "illegal version number.\n";
 }
 $NEWPATCHLEVEL = $1;