From 2e8b4836b072602d1c200b1f9735e3e0c4242985 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 13 Jul 2020 20:54:33 -0400 Subject: [PATCH] Fix tools/unnamed.py --- tools/unnamed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unnamed.py b/tools/unnamed.py index cb288f19e..d3d6633e3 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", "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)