Skip to content

Commit

Permalink
dist/tools: Use /usr/bin/env to lookup Python.
Browse files Browse the repository at this point in the history
Fixes some Python scripts which didn't use `/usr/bin/env`.
  • Loading branch information
peteut committed Apr 10, 2023
1 parent 6f0ac0c commit 25df307
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/tools/bmp/bmp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

# Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg
#
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/ci/can_fast_ci_run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
"""
Command line utility to check if only a subset of board / application combinations
need to be build in the CI
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/compile_commands/compile_commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
"""
Command line utility to generate compile_commands.json for RIOT applications
"""
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/pyterm/testbeds/testbeds.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/env python2
# -*- coding: utf-8 -*-

# Copyright (C) 2014 Philipp Rosenkranz <philipp.rosenkranz@fu-berlin.de>
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/suit/suit-manifest-generator/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright 2020 ARM Limited or its affiliates
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/suit/suit-manifest-generator/suit_tool/parse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright 2019 ARM Limited or its affiliates
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/suit/suit-manifest-generator/suit_tool/sign.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright 2019 ARM Limited or its affiliates
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/usb-serial/ttys.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
"""
Command line utility to list and filter TTYs
"""
Expand Down

0 comments on commit 25df307

Please sign in to comment.