Changeset 3c1c522 in freewrt


Ignore:
Timestamp:
Jun 18, 2006, 11:23:45 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
4c719e6
Parents:
a265d61
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)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@124 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    ra265d61 r3c1c522  
    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
  • rules.mk

    ra265d61 r3c1c522  
    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
Note: See TracChangeset for help on using the changeset viewer.