mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 22:43:34 +08:00
Change conditional check for px4-sim installation
This commit is contained in:
@@ -74,7 +74,7 @@ python3 -m pip install --user -r ${DIR}/requirements.txt
|
|||||||
|
|
||||||
# Optional, but recommended additional simulation tools:
|
# Optional, but recommended additional simulation tools:
|
||||||
if [[ $INSTALL_SIM == "--sim-tools" ]]; then
|
if [[ $INSTALL_SIM == "--sim-tools" ]]; then
|
||||||
if ! brew ls --versions px4-sim > /dev/null; then
|
if brew ls --versions px4-sim > /dev/null; then
|
||||||
brew install px4-sim
|
brew install px4-sim
|
||||||
elif [[ $REINSTALL_FORMULAS == "--reinstall" ]]; then
|
elif [[ $REINSTALL_FORMULAS == "--reinstall" ]]; then
|
||||||
brew reinstall px4-sim
|
brew reinstall px4-sim
|
||||||
|
|||||||
Reference in New Issue
Block a user