- #only want swrast_dri.so...
- SWRAST="`find ./usr -type f -name swrast_dri.so | head -n 1 | sed -e 's%^\./usr%%'`"
- if [ "$SWRAST" ];then
- DIRSWRAST="`dirname $SWRAST`"
- mv -f ./usr${SWRAST} /tmp/
- rm -f ./usr${DIRSWRAST}/*.so
- mv -f /tmp/swrast_dri.so ./usr${DIRSWRAST}/
- fi
|