summaryrefslogtreecommitdiff
path: root/openwrt
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
commitb3aeb6d5791647280fa56b6869c82048dbe2f13a (patch)
treef167067f92bd9a0fba3bf6400ecafa64606d4fee /openwrt
parent1914c16f25999c02c255273e852acf76d96aeb23 (diff)
downloadmtk-20170518-b3aeb6d5791647280fa56b6869c82048dbe2f13a.zip
mtk-20170518-b3aeb6d5791647280fa56b6869c82048dbe2f13a.tar.gz
mtk-20170518-b3aeb6d5791647280fa56b6869c82048dbe2f13a.tar.bz2
fix initial root dirs creation when empty cvs dirs are not pruned
SVN-Revision: 247
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index 0fa90fb..b240492 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