fixNT.sh 394 B

1234567891011121314
  1. #!/bin/sh
  2. #
  3. # clean up the mess that NT makes of my source tree
  4. #
  5. if [ -f makefile -a ! -f Makefile ]; then
  6. /bin/mv makefile Makefile
  7. fi
  8. chmod +x Configure util/*
  9. echo cleaning
  10. /bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null
  11. echo 'removing those damn ^M'
  12. perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'`
  13. make -f Makefile links