From: Brian Warner <warner@allmydata.com>
Date: Tue, 14 Aug 2007 21:24:48 +0000 (-0700)
Subject: Makefile: fix 'clean' target to work even if there's nothing to clean
X-Git-Tag: allmydata-tahoe-0.5.0~8
X-Git-Url: https://git.rkrishnan.org/specifications/components?a=commitdiff_plain;h=a0b48c83548c527cdb513315e14f6b342d586055;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: fix 'clean' target to work even if there's nothing to clean
---

diff --git a/Makefile b/Makefile
index acba601b..5e5c465d 100644
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ clean: clean-zfec clean-foolscap
 	rm -rf build
 	rm -f debian
 	rm -rf instdir
-	find src/allmydata -name '*.so' -print0 |xargs -0 rm
+	-find src/allmydata -name '*.so' -print0 |xargs -0 -r rm
 
 install: 
 	cd src/zfec && python ./setup.py install && cd ../..