summaryrefslogtreecommitdiffstats
path: root/toolchain/dependencies/check-host-sed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/dependencies/check-host-sed.sh')
-rwxr-xr-xtoolchain/dependencies/check-host-sed.sh2
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