Changeset 2553


Ignore:
Timestamp:
Jan 26, 2010, 5:42:48 PM (10 years ago)
Author:
bruno
Message:

-Adds support for links to modules (.ko pointing to .o) such as with VMWare extensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2552 r2553  
    445445        return 1
    446446    fi
    447     modpaths=`find $1 -name $2.*o -type f`
     447    # Find all files and links (required for some VMWare VMs)
     448    modpaths=`find $1 -name $2.*o -type f -o -type l`
    448449    #[ "$?" -ne "0" ] && Die "find $1 -name $2.o -type f --- failed"
    449     [ "$modpaths" = "" ] && modpaths=`find $1 -name $2.o.gz -type f`
    450     [ "$modpaths" = "" ] && modpaths=`find $1 -name $2.ko.gz -type f`
    451     [ "$modpaths" = "" ] && modpaths=`find $1 -name $2 -type f`
     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`
    452453    echo "$modpaths"
    453454    cd $pwd
Note: See TracChangeset for help on using the changeset viewer.