Changeset 2600

Show
Ignore:
Timestamp:
03/17/10 03:55:53 (5 months ago)
Author:
bruno
Message:

r3744@localhost: bruno | 2010-03-16 01:44:33 +0100

  • Fix a bug on Mandriva modules analysis (at least)
    (Backport from mindi 2.1.0)
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2.9/mindi/mindi

    r2585 r2600  
    446446    fi 
    447447    # Find all files and links (required for some VMWare VMs) 
    448     modpaths=`find $1 -name $2.*o -type f -o -type l` 
    449     #[ "$?" -ne "0" ] && Die "find $1 -name $2.o -type f --- failed" 
    450     [ "$modpaths" = "" ] && modpaths=`find $1 -name $2.o.gz -type f -o -type l` 
    451     [ "$modpaths" = "" ] && modpaths=`find $1 -name $2.ko.gz -type f -o -type l` 
    452     [ "$modpaths" = "" ] && modpaths=`find $1 -name $2 -type f -o -type l` 
     448    modpaths=`find $1 -name $2.*o -o -name $2.o.gz -o -name $2.ko.gz -o -name $2 -type f -o -type l` 
    453449    echo "$modpaths" 
    454450    cd $pwd 
     
    24432439    done 
    24442440 
    2445     for i in $needed_modules ; do 
     2441    for i in `echo $needed_modules  | tr ' ' '\n' | sort -u`; do 
    24462442        [ -e "$i" ] && s=`du -sk $i | cut -f1` || s="" 
    24472443        [ "$YOUR_KERNEL_SUCKS" ] && i=$MINDI_TMP/$i