Changeset 124

Show
Ignore:
Timestamp:
06/18/06 23:23:45 (6 years ago)
Author:
tg
Message:

obviously, perl isn't compatible either. well, what did
you expect of trying to throw an espie?

on systems without sed --in-place in --help, use a shell
script which emulates that behaviour. (requires /usr/bin/sed)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/Makefile

    r109 r124  
    117117                chmod 555 lbin/uname; \ 
    118118        fi 
     119        @if ! sed --help 2>&1 | fgrep in-place >/dev/null 2>&1; then \ 
     120                cp scripts/sed.bsd lbin/sed; \ 
     121                chmod 555 lbin/sed; \ 
     122        fi 
    119123        @echo "BASH=$$(which bash)" >>lbin/prereq.mk 
    120124        @echo 'HOSTCC=${CC}' >>lbin/prereq.mk 
  • trunk/freewrt/rules.mk

    r117 r124  
    113113SED:=$(STAGING_DIR)/bin/sed -i -e 
    114114else 
    115 SED:=perl -pi -e 
     115SED:=$(TOPDIR)/lbin/sed -i -e 
    116116endif 
    117117LINUX_DIR:=$(BUILD_DIR)/linux