summaryrefslogtreecommitdiffstats
path: root/toolchain/dependencies/dependencies.sh
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-11 12:50:15 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-11 12:50:15 +0000
commitbeca59b0903a523963d43db28c61151f4e280d05 (patch)
treeeaaf3b8cabae70c267ad7522ebe156ac8a2cdb1f /toolchain/dependencies/dependencies.sh
parentbf898045a1d8246f5050ec54630e7e583687b226 (diff)
downloadbuildroot-novena-beca59b0903a523963d43db28c61151f4e280d05.tar.gz
buildroot-novena-beca59b0903a523963d43db28c61151f4e280d05.zip
- ignore eventual errors from which(1)
Diffstat (limited to 'toolchain/dependencies/dependencies.sh')
-rwxr-xr-xtoolchain/dependencies/dependencies.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh
index f0ac1160e..2996081e3 100755
--- a/toolchain/dependencies/dependencies.sh
+++ b/toolchain/dependencies/dependencies.sh
@@ -123,7 +123,7 @@ fi
# check build system 'make'
#
#############################################################
-MAKE=$(which make)
+MAKE=$(which make 2> /dev/null)
if [ -z "$MAKE" ] ; then
echo "make installed: FALSE"
/bin/echo -e "\n\nYou must install 'make' on your build machine\n";
@@ -152,7 +152,7 @@ echo "GNU make version '$MAKE_VERSION': Ok"
#############################################################
COMPILER=$(which $HOSTCC 2> /dev/null)
if [ -z "$COMPILER" ] ; then
- COMPILER=$(which cc)
+ COMPILER=$(which cc 2> /dev/null)
fi;
if [ -z "$COMPILER" ] ; then
echo "C Compiler installed: FALSE"
@@ -179,7 +179,7 @@ echo "C compiler version '$COMPILER_VERSION': Ok"
# check for host CXX
CXXCOMPILER=$(which $HOSTCXX 2> /dev/null)
if [ -z "$CXXCOMPILER" ] ; then
- CXXCOMPILER=$(which c++)
+ CXXCOMPILER=$(which c++ 2> /dev/null)
fi
if [ -z "$CXXCOMPILER" ] ; then
echo "C++ Compiler installed: FALSE"