[PATCH 1/4] Shut up find warning in rules

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Mon Jul 26 12:33:16 UTC 2010


find warns that -maxdepth should go before -name, satisfied.

Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index aad83f4..687a6ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -94,7 +94,7 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
 endif
 
 	# remove *.la files before trying to remove debian/tmp
-	find debian/tmp/usr/lib -name '*.la' -maxdepth 1 -type f -delete
+	find debian/tmp/usr/lib -maxdepth 1 -name '*.la' -type f -delete
 
 	-find debian/tmp -type d | sort -r | xargs rmdir 2>&1 > /dev/null
 	# debian/tmp should be empty here : if not fail:
-- 
1.7.1


--------------080408000802020709050709
Content-Type: text/x-patch;
 name="0002-Add-usbdiskdirect-and-usbscsi-to-ports.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0002-Add-usbdiskdirect-and-usbscsi-to-ports.patch"



More information about the Pkg-phototools-devel mailing list