summaryrefslogtreecommitdiff
path: root/vcsclean
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2009-09-19 23:00:15 +0200
committerSean Finney <seanius@debian.org>2009-09-19 23:00:15 +0200
commit10544de9849f8704aaeb54388e9795f2273202a0 (patch)
treebc8df5cffe263633f72ae3119f5127a94e0e323d /vcsclean
parentc785001d106afb1d4eb98c811a1bf2e4e06065bf (diff)
downloadphp-10544de9849f8704aaeb54388e9795f2273202a0.tar.gz
Imported Upstream version 5.2.11.dfsg.1upstream/5.2.11.dfsg.1
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 000000000..e1004e434
--- /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