Changeset 2553 in MondoRescue
- Timestamp:
- Jan 26, 2010, 5:42:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/mindi
r2552 r2553 445 445 return 1 446 446 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` 448 449 #[ "$?" -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` 452 453 echo "$modpaths" 453 454 cd $pwd
Note:
See TracChangeset
for help on using the changeset viewer.