Ignore:
Timestamp:
2011-06-15T23:11:05+02:00 (5 years ago)
Author:
hauke
Message:

Fix CONFIG_LINUX_ for linux 3.0

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/metadata.pl

    r27033 r27184  
    189189        my $v = shift; 
    190190        $v =~ tr/\./_/; 
    191         $v =~ /(\d+_\d+_\d+)(_\d+)?/ and $v = $1; 
     191        if (substr($v,0,2) eq "2_") { 
     192                $v =~ /(\d+_\d+_\d+)(_\d+)?/ and $v = $1; 
     193        } else { 
     194                $v =~ /(\d+_\d+)(_\d+)?/ and $v = $1; 
     195        } 
    192196        return $v; 
    193197} 
Note: See TracChangeset for help on using the changeset viewer.