Changeset 3962

Show
Ignore:
Timestamp:
10/01/10 22:53:55 (2 years ago)
Author:
tg
Message:

quell another bash4-too-new issue discovered while building an image
anew for cnuke@mb.o on a debian testing box of gecko2@mb.o
XXX someone should verify whether 1.0 is also affected
--
Yay for having to rewrite other people's Bash scripts because bash
suddenly stopped supporting the bash extensions they make use of

-- Tonnerre Lombard in #nosec

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/toolchain/kernel-headers/Makefile

    r3877 r3962  
    3838                linux-$(LINUX_HEADERS_VERSION)/\*/\*/Config.in \ 
    3939                linux-$(LINUX_HEADERS_VERSION)/\*/Config.in 
    40         (cd $(LINUX_HEADERS_DIR)-$(LINUX_HEADERS_VERSION) ; patch -p1 < $(TOPDIR)/toolchain/kernel-headers/patches/include.patch) 
     40        cd $(LINUX_HEADERS_DIR)-$(LINUX_HEADERS_VERSION) && \ 
     41            for f in $(TOPDIR)/toolchain/kernel-headers/patches/*.patch; do \ 
     42                patch -lp1 <$$f; \ 
     43        done 
    4144        ln -sf $(LINUX_HEADERS_DIR)-$(LINUX_HEADERS_VERSION) $(LINUX_HEADERS_DIR) 
    4245        $(SED) 's/@expr length/@-expr length/' $(LINUX_HEADERS_DIR)/Makefile