fix initial root dirs creation when empty cvs dirs are not pruned
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@247 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
1a59681c6b
commit
de669569cd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue