diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-05-11 12:50:15 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-05-11 12:50:15 +0000 |
commit | beca59b0903a523963d43db28c61151f4e280d05 (patch) | |
tree | eaaf3b8cabae70c267ad7522ebe156ac8a2cdb1f /toolchain/dependencies/check-host-sed.sh | |
parent | bf898045a1d8246f5050ec54630e7e583687b226 (diff) | |
download | buildroot-novena-beca59b0903a523963d43db28c61151f4e280d05.tar.gz buildroot-novena-beca59b0903a523963d43db28c61151f4e280d05.zip |
- ignore eventual errors from which(1)
Diffstat (limited to 'toolchain/dependencies/check-host-sed.sh')
-rwxr-xr-x | toolchain/dependencies/check-host-sed.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/dependencies/check-host-sed.sh b/toolchain/dependencies/check-host-sed.sh index a1ee28003..71f0eb9e8 100755 --- a/toolchain/dependencies/check-host-sed.sh +++ b/toolchain/dependencies/check-host-sed.sh @@ -3,7 +3,7 @@ SEDLIST="/usr/bin/sed /bin/sed sed gnused gsed" for SED in $SEDLIST do if ! test -x $SED ; then - SED=$(which $SED) + SED=$(which $SED 2> /dev/null) if ! test -x "$SED" > /dev/null ; then SED="" continue |