scripts: xtensa-build-all.sh. Fix bash error.

make[1]: Leaving directory '/home/lrg/source/reef/sof.git'
./scripts/xtensa-build-all.sh: line 123: [: ==: unary operator expected

Fix, set variable to "none" if xcc not found.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2018-06-14 16:16:39 +01:00
parent 9c9c4a4b17
commit f1456e00db
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ do
if [ -d $XTENSA_TOOLS_DIR ]
then
XCC="xt-xcc"
else
XCC="none"
fi
fi