Skip to content

Commit

Permalink
Fix python3 shebang paths
Browse files Browse the repository at this point in the history
Using absolute paths can result in the wrong python3 binary being
used, such as when cross compiling using a non-system python3.

Use the normal python3 env shebang instead.

Signed-off-by: James Hilliard <[email protected]>
  • Loading branch information
jameshilliard committed Jul 2, 2024
1 parent 7836b6b commit e1f6f0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/reformat-code.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (C) 2017 Dell Inc.
#
Expand Down
2 changes: 1 addition & 1 deletion efi/generate_binary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (C) 2021 Javier Martinez Canillas <[email protected]>
# Copyright (C) 2021 Richard Hughes <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion efi/generate_sbat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (C) 2021 Javier Martinez Canillas <[email protected]>
# Copyright (C) 2021 Richard Hughes <[email protected]>
Expand Down

0 comments on commit e1f6f0d

Please sign in to comment.