mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-09 08:54:05 +08:00
If we are running the script, we are likely inside the repository, in which case the script would fail while searching for a directory named ardupilot. Derive the root directory from the script location.