aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-02-17 06:36:48 +0000
committerNicolas Thill <nico@openwrt.org>2005-02-17 06:36:48 +0000
commit5baa020d374e597154fd4196d084de05f60f9b26 (patch)
tree33fdbda5591eb241a87384b44a69c887f55b9c6d
parentea47e25677be730e086655216d0c7ee0b1f1d06d (diff)
downloadmaster-187ad058-5baa020d374e597154fd4196d084de05f60f9b26.tar.gz
master-187ad058-5baa020d374e597154fd4196d084de05f60f9b26.tar.bz2
master-187ad058-5baa020d374e597154fd4196d084de05f60f9b26.zip
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 0fa90fb40d..b240492b89 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