Skip to content

Commit

Permalink
use /usr/bin/env python3 shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Jan 23, 2024
1 parent 1585092 commit f1c5626
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/build/audio/sbn.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python3
#! /usr/bin/env python3

import argparse
from sys import path
Expand Down
2 changes: 1 addition & 1 deletion tools/build/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def run(command, stdin):
sub = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, input=stdin, cwd=ROOT)
return sub.stdout

expected_stdout = run(["python3", "tools/build/iconv.py", "UTF-8", "CP932"], stdin)
expected_stdout = run(["tools/build/iconv.py", "UTF-8", "CP932"], stdin)
actual_stdout = run(["iconv", "--from", "UTF-8", "--to", "CP932"], stdin)
return expected_stdout == actual_stdout

Expand Down
2 changes: 1 addition & 1 deletion tools/build/iconv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import argparse
import sys
Expand Down

0 comments on commit f1c5626

Please sign in to comment.