Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: use /usr/bin/env to find python3 #28281

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tools/autotest/run_mission.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

'''
Run a mission in SITL
Expand Down
2 changes: 1 addition & 1 deletion Tools/autotest/test_param_upgrade.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

'''
Test parameter upgrade, master vs branch
Expand Down
2 changes: 1 addition & 1 deletion Tools/autotest/unittest/annotate_params_unittest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

'''
These are the unit tests for the python script that fetches online ArduPilot
Expand Down
2 changes: 1 addition & 1 deletion Tools/autotest/unittest/extract_param_defaults_unittest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

'''
Extracts parameter default values from an ArduPilot .bin log file. Unittests.
Expand Down
2 changes: 1 addition & 1 deletion Tools/scripts/annotate_params.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Tools/scripts/extract_param_defaults.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

'''
Extracts parameter default values from an ArduPilot .bin log file.
Expand Down
2 changes: 1 addition & 1 deletion Tools/scripts/generate_pdef.xml_metadata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

'''
Rsync apm.pdef.xml files for different versions of the ArduPilot firmware
Expand Down
Loading