From c86198e439c1350bc5b272310a9e8c4dc7bbcd5b Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 28 Mar 2006 13:39:23 +0000 Subject: [PATCH] Remove svn and cvs directory at creation time, closes #421 SVN-Revision: 3520 --- openwrt/target/linux/imagebuilder/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt/target/linux/imagebuilder/Makefile b/openwrt/target/linux/imagebuilder/Makefile index 0ec71199c7..12bd6cbbbb 100644 --- a/openwrt/target/linux/imagebuilder/Makefile +++ b/openwrt/target/linux/imagebuilder/Makefile @@ -45,4 +45,5 @@ build: if [ -d ./files.$(LIST) ]; then \ cp -a --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 -- 2.30.2