summaryrefslogtreecommitdiff
path: root/vcsclean
diff options
context:
space:
mode:
authorGwynne Raskind <gwynne@php.net>2009-07-16 04:43:18 +0000
committerGwynne Raskind <gwynne@php.net>2009-07-16 04:43:18 +0000
commit0a0a8e7866d8b058415734893c3202c599c247ee (patch)
treef3e40f74b7ea039692eaeaebe8b4c0bf47c5b708 /vcsclean
parentf5980b7a4ceeeb976054bcd27ee7366738906b23 (diff)
downloadphp-git-0a0a8e7866d8b058415734893c3202c599c247ee.tar.gz
dropped some more mime types, svnclean -> clean for multiple VCS
Diffstat (limited to 'vcsclean')
-rwxr-xr-xvcsclean11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcsclean b/vcsclean
new file mode 100755
index 0000000000..e1004e4349
--- /dev/null
+++ b/vcsclean
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+if test -d 'CVS'; then
+ ${MAKE:-make} -f build/build.mk cvsclean-work
+elif test -d '.svn'; then
+ ${MAKE:-make} -f build/build.mk svnclean-work
+elif test -d '.git'; then
+ ${MAKE:-make} -f build/build.mk gitclean-work
+else
+ echo "Can't figure out your VCS, not cleaning."
+fi