aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-03-28 13:42:33 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-03-28 13:42:33 +0000
commit259eb8430a0ae4d3296068129a1fc3afc0cb71d8 (patch)
treef89c09bfc27a1c71cecac4975f049b85e566c7dc
parent630f299c6c68dc33ccbd0eb144899795dc50db79 (diff)
downloadupstream-259eb8430a0ae4d3296068129a1fc3afc0cb71d8.tar.gz
upstream-259eb8430a0ae4d3296068129a1fc3afc0cb71d8.tar.bz2
upstream-259eb8430a0ae4d3296068129a1fc3afc0cb71d8.zip
Remove svn and cvs directories at creation time, fixes #421
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3521 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/target/linux/imagebuilder/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/target/linux/imagebuilder/Makefile b/openwrt/target/linux/imagebuilder/Makefile
index 8ed7a5cc022..4afb4d45a75 100644
--- a/openwrt/target/linux/imagebuilder/Makefile
+++ b/openwrt/target/linux/imagebuilder/Makefile
@@ -45,4 +45,5 @@ build:
if [ -d ./files.$(LIST) ]; then \
$(CP) --remove-destination ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \
fi
+ find $(LINUX_BUILD_DIR)/root -name '.svn' || 'CVS' | xargs rm -rf
$(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install