summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-17 06:36:48 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-17 06:36:48 +0000
commit444412551eb82e366abf2c1f1b047ca374172cbd (patch)
treef167067f92bd9a0fba3bf6400ecafa64606d4fee
parent19f6f4f00d933cc5e81f0b147f1914972b21f105 (diff)
fix initial root dirs creation when empty cvs dirs are not pruned
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@247 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index 0fa90fb40..b240492b8 100644
--- a/openwrt/Makefile
+++ b/openwrt/Makefile
@@ -107,7 +107,7 @@ $(STAGING_DIR):
$(TARGET_DIR):
@mkdir -p $(TARGET_DIR)
cp -a target/default/target_skeleton/* $(TARGET_DIR)/
- mkdir $(TARGET_DIR)/{proc,dev,jffs,tmp,usr/sbin}
+ mkdir -p $(TARGET_DIR)/{proc,dev,jffs,tmp,usr/sbin}
chmod 1777 $(TARGET_DIR)/tmp
-find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1