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.rohieb.name/openwrt.git/commitdiff_plain/c1b34d5e9181671cbeb1405b1c67d1b3f18cd84a?hp=4f38c436bc435770f97b8ca907c769c67ab3a960 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