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 c3fc01c..64c78de 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 \