From 6cd84c68386d614b4838346b8b16f0431bd07e3e Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 2 Apr 2007 16:09:15 +0000 Subject: Use find -exec instead of xargs SVN-Revision: 6837 --- target/sdk/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/sdk/Makefile') diff --git a/target/sdk/Makefile b/target/sdk/Makefile index d65b934c95..3cae4b3842 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -35,8 +35,8 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean $(CP) ./files/package/rules.mk $(SDK_BUILD_DIR)/package/ echo OPENWRTVERSION:=$(OPENWRTVERSION) > $(SDK_BUILD_DIR)/.version.mk rm -rf $(SDK_BUILD_DIR)/staging_dir*/ccache - find $(SDK_BUILD_DIR) -name .svn | xargs rm -rf - find $(SDK_BUILD_DIR) -name CVS | xargs rm -rf + find $(SDK_BUILD_DIR) -name .svn -exec rm -rf {} \; + find $(SDK_BUILD_DIR) -name CVS -exec rm -rf {} \; (cd $(BUILD_DIR); \ tar cfj $@ $(SDK_NAME); \ ) -- cgit v1.2.3