make sure that /etc/rc.d exists before creating symlinks

SVN-Revision: 7417
This commit is contained in:
Felix Fietkau 2007-05-31 12:05:37 +00:00
parent 3e8bdad848
commit b22491e0f8

View File

@ -51,6 +51,7 @@ install:
@if [ -d $(TOPDIR)/files ]; then \
$(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \
fi
@mkdir -p $(BUILD_DIR)/root/etc/rc.d
@( \
cd $(BUILD_DIR)/root; \
for script in ./etc/init.d/*; do \