diff --git a/Tools/autotest/run_mission.py b/Tools/autotest/run_mission.py index 53721d76ee..05f8e5e6f3 100755 --- a/Tools/autotest/run_mission.py +++ b/Tools/autotest/run_mission.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ''' Run a mission in SITL diff --git a/Tools/autotest/test_param_upgrade.py b/Tools/autotest/test_param_upgrade.py index de38983443..c1d11723a2 100755 --- a/Tools/autotest/test_param_upgrade.py +++ b/Tools/autotest/test_param_upgrade.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ''' Test parameter upgrade, master vs branch diff --git a/Tools/autotest/unittest/annotate_params_unittest.py b/Tools/autotest/unittest/annotate_params_unittest.py index e9db5f794a..26dd0ad09a 100755 --- a/Tools/autotest/unittest/annotate_params_unittest.py +++ b/Tools/autotest/unittest/annotate_params_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ''' These are the unit tests for the python script that fetches online ArduPilot diff --git a/Tools/autotest/unittest/extract_param_defaults_unittest.py b/Tools/autotest/unittest/extract_param_defaults_unittest.py index fe53965547..b3e6e3c1d0 100755 --- a/Tools/autotest/unittest/extract_param_defaults_unittest.py +++ b/Tools/autotest/unittest/extract_param_defaults_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ''' Extracts parameter default values from an ArduPilot .bin log file. Unittests. diff --git a/Tools/scripts/annotate_params.py b/Tools/scripts/annotate_params.py index 11c9ca8024..aaf679471a 100755 --- a/Tools/scripts/annotate_params.py +++ b/Tools/scripts/annotate_params.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ This script fetches online ArduPilot parameter documentation (if not cached) and adds it to the specified file diff --git a/Tools/scripts/extract_param_defaults.py b/Tools/scripts/extract_param_defaults.py index cf50e16ab2..4036b3900f 100755 --- a/Tools/scripts/extract_param_defaults.py +++ b/Tools/scripts/extract_param_defaults.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ''' Extracts parameter default values from an ArduPilot .bin log file. diff --git a/Tools/scripts/generate_pdef.xml_metadata.py b/Tools/scripts/generate_pdef.xml_metadata.py index c728919ea0..8c52f06ea9 100755 --- a/Tools/scripts/generate_pdef.xml_metadata.py +++ b/Tools/scripts/generate_pdef.xml_metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ''' Rsync apm.pdef.xml files for different versions of the ArduPilot firmware