aboutsummaryrefslogtreecommitdiffstats
path: root/target/sdk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/sdk/Makefile')
-rw-r--r--target/sdk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index c0fc027cb4..9f12631863 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 -exec rm -rf {} +
- find $(SDK_BUILD_DIR) -name CVS -exec rm -rf {} +
+ find $(SDK_BUILD_DIR) -name .svn | xargs -r rm -rf
+ find $(SDK_BUILD_DIR) -name CVS | xargs -r rm -rf
(cd $(BUILD_DIR); \
tar cfj $@ $(SDK_NAME); \
)