FIXUPHACK 274 B

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