Skip to content

Commit

Permalink
Tools: use /usr/bin/env to find python3
Browse files Browse the repository at this point in the history
going directly to /usr/bin/python3 means we don't use the venv python
  • Loading branch information
peterbarker committed Oct 2, 2024
1 parent 96f7d8a commit 23513e3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
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

0 comments on commit 23513e3

Please sign in to comment.