From: nico Date: Thu, 17 Feb 2005 06:36:48 +0000 (+0000) Subject: fix initial root dirs creation when empty cvs dirs are not pruned X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=c1b34d5e9181671cbeb1405b1c67d1b3f18cd84a 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 --- 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