summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openwrt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index 0fa90fb40d..b240492b89 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