freewrt_1_0
freewrt_2_0
|
Last change
on this file since 131a9d7 was 131a9d7, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
move tools like sed, trx, lzma, which does not belong to the toolchain (gcc,binutils,gdb,libc) to a separate directory, all stuff is compiled with the host compiler
git-svn-id: svn://www.freewrt.org/trunk/freewrt@194 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100755
|
|
File size:
312 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | if [ -x /usr/bin/sed ]; then
|
|---|
| 4 | SED="/usr/bin/sed";
|
|---|
| 5 | else
|
|---|
| 6 | if [ -x /bin/sed ]; then
|
|---|
| 7 | SED="/bin/sed";
|
|---|
| 8 | fi;
|
|---|
| 9 | fi;
|
|---|
| 10 |
|
|---|
| 11 | echo "HELLO" > .sedtest
|
|---|
| 12 | $SED -i -e "s/HELLO/GOODBYE/" .sedtest >/dev/null 2>&1
|
|---|
| 13 |
|
|---|
| 14 | if [ $? != 0 ] ; then
|
|---|
| 15 | echo build-sed-host-binary
|
|---|
| 16 | else
|
|---|
| 17 | echo use-sed-host-binary
|
|---|
| 18 | fi;
|
|---|
| 19 | rm -f .sedtest
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.