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:
|
if args.rootdir:
|
||||||
for line in Popen(["make", "-C", args.rootdir, "-s", "-p", "DEBUG=1"],
|
for line in Popen(["make", "-C", args.rootdir, "-s", "-p", "DEBUG=1"],
|
||||||
stdout=PIPE).stdout.read().decode().split("\n"):
|
stdout=PIPE).stdout.read().decode().split("\n"):
|
||||||
if line.startswith("crystal_obj := "):
|
if line.startswith("pokecrystal_obj := "):
|
||||||
objects = line[15:].strip().split()
|
objects = line[19:].strip().split()
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
print("Error: Object files not found!", file=stderr)
|
print("Error: Object files not found!", file=stderr)
|
||||||
|
Loading…
Reference in New Issue
Block a user