Changeset 251 for floppyfw/scripts

Show
Ignore:
Timestamp:
07/20/08 08:46:56 (4 years ago)
Author:
root
Message:

Dump vrsion and make sure everything works.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • floppyfw/scripts/modpick.pl

    r249 r251  
    105105my ($modext) = ".o"; 
    106106$kernelversion =~ /^2\.4/ ? $foo = ".ko" : $foo = ".o"; 
    107 print STDERR "FOO:$foo - $kernelversion"; 
    108107 
    109108# $debug = 1; 
     
    111110my ($allmodules, $p) = &readModulesDep(); 
    112111 
    113 print STDERR "DUMP\n"; 
    114112# print STDERR Dumper($allmodules) if ($debug); 
    115113 
     
    145143                $module = $last_module = ($1 || $last_module); 
    146144                # Too much of .o and not .o for my liking. 
    147                 $last_module =~ s/\$modext$//; 
     145                $last_module =~ s/\.[ko|o]$//; 
    148146                $optlist{$last_module} .= ($2 . " "); 
    149147 
     
    199197 
    200198        map { s/.*\/// } @deplist; 
    201         map { s/\$modext// } @deplist; 
     199        map { s/\.[ko|o]// } @deplist; 
    202200 
    203201        # I shall say this only once.