mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-13 02:54:09 +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.