From 032b9909fa94d36b685884c1245985f8bf084874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=AF=E4=B8=9CStone?= Date: Sat, 7 Mar 2020 02:26:22 +0800 Subject: [PATCH] Fix a typo in Ubuntu setup script --- Tools/setup/ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/setup/ubuntu.sh b/Tools/setup/ubuntu.sh index c769c7d5ee..e25861b8d0 100755 --- a/Tools/setup/ubuntu.sh +++ b/Tools/setup/ubuntu.sh @@ -140,7 +140,7 @@ if [[ $INSTALL_NUTTX == "true" ]]; then # arm-none-eabi-gcc NUTTX_GCC_VERSION="7-2017-q4-major" -if [ $(which arm-none-eabi-gc) ]; then +if [ $(which arm-none-eabi-gcc) ]; then GCC_VER_STR=$(arm-none-eabi-gcc --version) GCC_FOUND_VER=$(echo $GCC_VER_STR | grep -c "${NUTTX_GCC_VERSION}") fi