BASH   73

vcsclean

Guest on 26th May 2022 02:50:08 PM

  1. #! /bin/sh
  2.  
  3. if test -d 'CVS'; then
  4.     ${MAKE:-make} -f build/build.mk cvsclean-work
  5. elif test -d '.svn'; then
  6.     ${MAKE:-make} -f build/build.mk svnclean-work
  7. elif test -d '.git'; then
  8.     ${MAKE:-make} -f build/build.mk gitclean-work
  9. else
  10.     echo "Can't figure out your VCS, not cleaning."
  11. fi

Raw Paste


Login or Register to edit or fork this paste. It's free.