xref: /PHP-5.5/vcsclean (revision ad3dd7a7)
1ad3dd7a7SGwynne Raskind#! /bin/sh
2ad3dd7a7SGwynne Raskind
3ad3dd7a7SGwynne Raskindif test -d 'CVS'; then
4ad3dd7a7SGwynne Raskind    ${MAKE:-make} -f build/build.mk cvsclean-work
5ad3dd7a7SGwynne Raskindelif test -d '.svn'; then
6ad3dd7a7SGwynne Raskind    ${MAKE:-make} -f build/build.mk svnclean-work
7ad3dd7a7SGwynne Raskindelif test -d '.git'; then
8ad3dd7a7SGwynne Raskind    ${MAKE:-make} -f build/build.mk gitclean-work
9ad3dd7a7SGwynne Raskindelse
10ad3dd7a7SGwynne Raskind    echo "Can't figure out your VCS, not cleaning."
11ad3dd7a7SGwynne Raskindfi
12