mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Fix tools/unnamed.py
This commit is contained in:
parent
eca33ef190
commit
2e8b4836b0
@ -39,8 +39,8 @@ objects = None
|
||||
if args.rootdir:
|
||||
for line in Popen(["make", "-C", args.rootdir, "-s", "-p", "DEBUG=1"],
|
||||
stdout=PIPE).stdout.read().decode().split("\n"):
|
||||
if line.startswith("crystal_obj := "):
|
||||
objects = line[15:].strip().split()
|
||||
if line.startswith("pokecrystal_obj := "):
|
||||
objects = line[19:].strip().split()
|
||||
break
|
||||
else:
|
||||
print("Error: Object files not found!", file=stderr)
|
||||
|
Loading…
Reference in New Issue
Block a user