From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot: package/sed toolchain/dependencies
Date: Sat, 10 Mar 2007 02:29:09 -0800 (PST) [thread overview]
Message-ID: <20070310102909.5202A48094@busybox.net> (raw)
Author: aldot
Date: 2007-03-10 02:29:08 -0800 (Sat, 10 Mar 2007)
New Revision: 18060
Log:
- fixes for bugs introduced with the MacOS10 support (Heikki Lindholm)
Modified:
trunk/buildroot/package/sed/sed.mk
trunk/buildroot/toolchain/dependencies/check-host-sed.sh
Changeset:
Modified: trunk/buildroot/package/sed/sed.mk
===================================================================
--- trunk/buildroot/package/sed/sed.mk 2007-03-09 22:48:08 UTC (rev 18059)
+++ trunk/buildroot/package/sed/sed.mk 2007-03-10 10:29:08 UTC (rev 18060)
@@ -42,7 +42,7 @@
$(SED_DIR1)/.configured: $(SED_DIR1)/.unpacked
(cd $(SED_DIR1); rm -rf config.cache; \
./configure \
- --prefix=$(HOST_SED_DIR) \
+ --prefix=/usr \
);
touch $(SED_DIR1)/.configured
Modified: trunk/buildroot/toolchain/dependencies/check-host-sed.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/check-host-sed.sh 2007-03-09 22:48:08 UTC (rev 18059)
+++ trunk/buildroot/toolchain/dependencies/check-host-sed.sh 2007-03-10 10:29:08 UTC (rev 18060)
@@ -1,11 +1,5 @@
SEDLIST="/usr/bin/sed /bin/sed sed gnused gsed"
-DIFF=$(which diff)
-if ! test -x "$DIFF" ; then
- /bin/echo -e "\n\ntesting for sed needs 'diff' on your build machine\n";
- exit 1;
-fi;
-
for SED in $SEDLIST
do
if ! test -x $SED ; then
@@ -17,20 +11,20 @@
fi
echo "HELLO" > .sedtest
- echo "GOODBYE" > .sedtest-correct
$SED -i -e "s/HELLO/GOODBYE/" .sedtest >/dev/null 2>&1
+ RESULT=$(cat .sedtest)
if test $? != 0 ; then
SED=""
elif test -e ".sedtest-e" ; then
rm -f ".sedtest-e"
SED=""
- elif ! $DIFF ".sedtest" ".sedtest-correct" > /dev/null ; then
- echo "diff failed"
+ elif [ -z "${RESULT}" ] || [ "${RESULT}" != "GOODBYE"] > /dev/null ;
+ then
SED=""
fi
- rm -f .sedtest .sedtest-correct
+ rm -f .sedtest
if [ ! -z "$SED" ] ; then
break
fi
next reply other threads:[~2007-03-10 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-10 10:29 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-03-09 8:33 [Buildroot] svn commit: trunk/buildroot: package/sed toolchain/dependencies aldot at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070310102909.5202A48094@busybox.net \
--to=aldot@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox