mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fix a typo in Ubuntu setup script
This commit is contained in:
parent
d7a9b123e6
commit
032b9909fa
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user