summaryrefslogtreecommitdiff
path: root/vcsclean
diff options
context:
space:
mode:
authorGwynne Raskind <gwynne@php.net>2009-07-16 04:50:06 +0000
committerGwynne Raskind <gwynne@php.net>2009-07-16 04:50:06 +0000
commitad3dd7a718845e3ad178cae12ee98f7db9db8e4e (patch)
tree0aa0ccf043a5d6f986f958250a9e402f2834f06a /vcsclean
parent2adf42f8904fd2b293f6a8281690de4cdc62b0c4 (diff)
downloadphp-git-ad3dd7a718845e3ad178cae12ee98f7db9db8e4e.tar.gz
MFH: 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