Commit e25e1058 authored by Rabeeh Khoury's avatar Rabeeh Khoury

fix script exit which checking tools

which $i exits with an error code that makes the script exit
ignore those exit codes only when checking for tools
Signed-off-by: default avatarRabeeh Khoury <rabeeh@solid-run.com>
parent 153fb79d
......@@ -66,6 +66,7 @@ fi
echo "Checking all required tools are installed"
set +e
for i in $TOOLS; do
TOOL_PATH=`which $i`
if [ "x$TOOL_PATH" == "x" ]; then
......@@ -73,6 +74,7 @@ for i in $TOOLS; do
exit -1
fi
done
set -e
if [[ ! -d $ROOTDIR/build/toolchain ]]; then
mkdir -p $ROOTDIR/build/toolchain
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment