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
commitc1b34d5e9181671cbeb1405b1c67d1b3f18cd84a (patch)
tree33fdbda5591eb241a87384b44a69c887f55b9c6d
parent4f38c436bc435770f97b8ca907c769c67ab3a960 (diff)
fix initial root dirs creation when empty cvs dirs are not pruned
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@247 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0fa90fb40..b240492b8 100644
--- a/Makefile
+++ b/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