make sure that /etc/rc.d exists before creating symlinks
authorFelix Fietkau <nbd@openwrt.org>
Thu, 31 May 2007 12:05:37 +0000 (12:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 31 May 2007 12:05:37 +0000 (12:05 +0000)
SVN-Revision: 7417

package/Makefile

index c3fc01c7dfed8f053d9f71b202ea35c1ff5ac71a..64c78de5e7e0831996c9c24158c3393c0fdc0a2d 100644 (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 \