mirror of
https://github.com/zeldaret/oot.git
synced 2025-05-10 02:54:24 +00:00
Fix fix_bss.py (#2526)
This commit is contained in:
parent
2a8785ffef
commit
39ae99c4cb
1 changed files with 2 additions and 2 deletions
|
@ -483,7 +483,7 @@ def find_compiler_command_line(
|
||||||
found = 0
|
found = 0
|
||||||
for line in make_log:
|
for line in make_log:
|
||||||
parts = line.split()
|
parts = line.split()
|
||||||
if "-o" in parts and str(filename) in parts:
|
if "./tools/preprocess.sh" in parts and "-o" in parts and str(filename) in parts:
|
||||||
compiler_command_line = parts
|
compiler_command_line = parts
|
||||||
found += 1
|
found += 1
|
||||||
|
|
||||||
|
@ -551,7 +551,7 @@ def main():
|
||||||
command_line = find_compiler_command_line(make_log, args.filename)
|
command_line = find_compiler_command_line(make_log, args.filename)
|
||||||
if command_line is None:
|
if command_line is None:
|
||||||
print(
|
print(
|
||||||
f"Error: could not determine compiler command line for {filename}",
|
f"Error: could not determine compiler command line for {args.filename}",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue