Hi,
This won't work:
fmPath=`(cd /lib/modules/$kernel; sh_find ./ $modName.o.gz | grep -v build)`
As the magic seems to happen in the "sh_find" function.
# sh_find <directory> <filename>
sh_find() {
if [ -n "$2" ]; then [ -r $1$2 ] && echo $1$2; else echo "$1"*; fi
for i in "$1"*; do
[ -d $i ] && sh_find $i/ $2
done
}
It has to be something like:
IGNOREDIRS="build"
And a more clever "sh_find" function, I don't know how, I'm too tired right
now... Why is there a "build" softlink in there anyway???
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Oden Eriksson, Deserve-IT Networks/HFE Systems, Jokkmokk, Sweden.
| Mandrake Linux release 8.2 (Cooker) for i586
| Current uptime with kernel 2.4.17-5mdksmp: 1 day 47 minutes
| cpu0 @ 799.53 bm, fan 4591 rpm, temp +30�C
| cpu1 @ 801.17 bm, fan 4500 rpm, temp +29.5�C