mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-20 15:48:29 -04:00
Tools: install-prereqs-ubuntu : prevent crash when link already exist
This commit is contained in:
parent
e40480a0ed
commit
b238d081ac
@ -118,8 +118,8 @@ function install_arm_none_eabi_toolchain() {
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
echo "Registering STM32 Toolchain for ccache"
|
echo "Registering STM32 Toolchain for ccache"
|
||||||
sudo ln -s $CCACHE_PATH /usr/lib/ccache/arm-none-eabi-g++
|
sudo ln -s -f $CCACHE_PATH /usr/lib/ccache/arm-none-eabi-g++
|
||||||
sudo ln -s $CCACHE_PATH /usr/lib/ccache/arm-none-eabi-gcc
|
sudo ln -s -f $CCACHE_PATH /usr/lib/ccache/arm-none-eabi-gcc
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user