summaryrefslogtreecommitdiff
path: root/vcsclean
diff options
context:
space:
mode:
Diffstat (limited to 'vcsclean')
-rwxr-xr-xvcsclean2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcsclean b/vcsclean
index b5d201b69f..fc7fc2f805 100755
--- a/vcsclean
+++ b/vcsclean
@@ -1,6 +1,6 @@
#! /bin/sh
-if test -d '.git'; then
+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."