diff options
| author | Florian Fainelli <florian@openwrt.org> | 2006-03-28 13:42:33 +0000 |
|---|---|---|
| committer | Florian Fainelli <florian@openwrt.org> | 2006-03-28 13:42:33 +0000 |
| commit | 259eb8430a0ae4d3296068129a1fc3afc0cb71d8 (patch) | |
| tree | f89c09bfc27a1c71cecac4975f049b85e566c7dc | |
| parent | 630f299c6c68dc33ccbd0eb144899795dc50db79 (diff) | |
| download | upstream-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/Makefile | 1 |
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 |
