summaryrefslogtreecommitdiff
path: root/tools/unnamed.py
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 17:50:03 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 17:50:03 -0400
commit2b13e868bee696d424db65ba29424897fa89c072 (patch)
tree341c575d8625462326833fa40a6f188a1cf4314f /tools/unnamed.py
parentcecb3bb27a9fed1a665ff3b77dc79e8f914b74f0 (diff)
Fix tools/unnamed.py
Diffstat (limited to 'tools/unnamed.py')
-rwxr-xr-xtools/unnamed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/unnamed.py b/tools/unnamed.py
index b52be548..1a8a7ce7 100755
--- a/tools/unnamed.py
+++ b/tools/unnamed.py
@@ -39,8 +39,8 @@ objects = None
if args.rootdir:
for line in Popen(["make", "-C", args.rootdir, "-s", "-p"],
stdout=PIPE).stdout.read().decode().split("\n"):
- if line.startswith("gold_obj := "):
- objects = line[12:].strip().split()
+ if line.startswith("pokegold_obj := "):
+ objects = line[16:].strip().split()
break
else:
print("Error: Object files not found!", file=stderr)