From 703298a8f0d97138b8de851e793968cb0bdcd157 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 15 Jun 2020 10:53:36 -0400 Subject: Fix tools/unnamed.py for pokegold --- tools/unnamed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unnamed.py b/tools/unnamed.py index 54a1473f..22f754e1 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("crystal_obj := "): - objects = line[15:].strip().split() + if line.startswith("gold_obj := "): + objects = line[12:].strip().split() break else: print("Error: Object files not found!", file=stderr) -- cgit v1.2.3