#!/bin/tcsh

find `pwd` -type f -name "Makefile" -print > `pwd`/MakefileList

foreach i ( `cat ./MakefileList` )
        echo "Processing $i ..."
        sed -e 's#-R/usr/lib/lwp:/opt/fsw4sun/lib:/usr/lib#-R/usr/lib/lwp:/usr/lib:/opt/fsw4sun/lib#g' $i > /tmp/k
        mv -f /tmp/k $i
end


