summaryrefslogtreecommitdiff
path: root/scripts/dev/vcsclean
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev/vcsclean')
-rwxr-xr-xscripts/dev/vcsclean7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/dev/vcsclean b/scripts/dev/vcsclean
new file mode 100755
index 0000000000..fc7fc2f805
--- /dev/null
+++ b/scripts/dev/vcsclean
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+if test -d '.git' -o -f '.git'; then
+ ${MAKE:-make} -f build/build.mk gitclean-work
+else
+ echo "Can't figure out your VCS, not cleaning."
+fi