[PATCH 2/2] Makefile: fix cleaning path having whitespaces

Nicolas Sebrecht nicolas.s-dev at laposte.net
Sun Jan 16 17:02:53 UTC 2011


Signed-off-by: Nicolas Sebrecht <nicolas.s-dev at laposte.net>
---
 Makefile |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 54da8a8..7b7d160 100644
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,10 @@ SHELL=/bin/bash
 clean:
 	-python setup.py clean --all
 	-rm -f bin/offlineimapc
-	-rm -f `find . -name "*.pyc"`
-	-rm -f `find . -name "*.pygc"`
-	-rm -f `find . -name "*.class"`
-	-rm -f `find . -name ".cache*"`
+	-find . -name '*.pyc' -exec rm -f {} \;
+	-find . -name '*.pygc' -exec rm -f {} \;
+	-find . -name '*.class' -exec rm -f {} \;
+	-find . -name '.cache*' -exec rm -f {} \;
 	-rm -f manpage.links manpage.refs
 	-find . -name auth -exec rm -vf {}/password {}/username \;
 	-rm -f readme.html
-- 
1.7.4.rc1.220.g438e4




More information about the OfflineIMAP-project mailing list