[oe-commits] Koen Kooi : dsplink: change find | xargs to find -exec

GIT User account git at amethyst.openembedded.net
Sat Jan 3 14:48:14 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3ae90a04c6b7ab7eab3bbf725b4180e5d7ff791a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3ae90a04c6b7ab7eab3bbf725b4180e5d7ff791a

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Jan  3 15:42:30 2009 +0100

dsplink: change find | xargs to find -exec

---

 packages/dsplink/dsplink.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc
index 48cf50b..4d5db6a 100644
--- a/packages/dsplink/dsplink.inc
+++ b/packages/dsplink/dsplink.inc
@@ -13,8 +13,8 @@ require ti-paths.inc
 
 do_configure () {
 	# Clean up stale binaries
-	find ${S} -name "*.ko" | xargs rm || true
-	find ${S} -name "*.o" | xargs rm || true
+	find ${S} -name "*.ko" -exec rm {} \; || true
+	find ${S} -name "*.o" -exec rm {} \; || true
 
 	# Run perl script to create appropriate makefiles (v1.60 and up)
 	(





More information about the Openembedded-commits mailing list