diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-04-02 16:09:15 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-04-02 16:09:15 +0000 |
commit | 7a5a2cec7a9bd2fef9aa3b7e1e78cf6714855d57 (patch) | |
tree | 57e890075610ad4408a6fa4b478be0f1eb678e2a /target/imagebuilder | |
parent | ac73de1e9395e3f8858693f368eff16fdd53f307 (diff) | |
download | upstream-7a5a2cec7a9bd2fef9aa3b7e1e78cf6714855d57.tar.gz upstream-7a5a2cec7a9bd2fef9aa3b7e1e78cf6714855d57.tar.bz2 upstream-7a5a2cec7a9bd2fef9aa3b7e1e78cf6714855d57.zip |
Use find -exec instead of xargs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/imagebuilder')
-rw-r--r-- | target/imagebuilder/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 0cbbfa2835..3d830bbc2d 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -33,8 +33,8 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean $(CP) $(TOPDIR)/target/linux/* $(IB_BUILD_DIR)/target/linux rm -rf $(IB_BUILD_DIR)/target/linux/*/patches -cp $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/* $(IB_BUILD_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD) # don't copy subdirectories here - find $(IB_BUILD_DIR) -name .svn | xargs rm -rf - find $(IB_BUILD_DIR) -name CVS | xargs rm -rf + find $(IB_BUILD_DIR) -name .svn -exec rm -rf {} \; + find $(IB_BUILD_DIR) -name CVS -exec rm -rf {} \; (cd $(BUILD_DIR); \ tar cfj $@ $(IB_NAME); \ ) |