summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-22 20:58:30 +0100
committerhut <hut@lavabit.com>2010-03-22 20:58:30 +0100
commitcec158dac22bc14dd298b8136ab50b6e4e9ced4e (patch)
tree3ccc16b30973524ebeedb9f7954a76ca10d4d0e9 /Makefile
parent1295513fdf03f442881c9a0018ee95678822ff1b (diff)
downloadranger-cec158dac22bc14dd298b8136ab50b6e4e9ced4e.tar.gz
make clean: safer method of cleaning
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb71a72a..ac7b0502 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@ cleandoc:
 	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html
 
 clean:
-	find . -regex .\*.py[co]$ | xargs rm -f --
+	find . -regex [^\s]\*.py[co]$ | xargs rm -f --
 
 test:
 	./all_tests.py