aboutsummaryrefslogtreecommitdiffstats
path: root/tools/unnamed.py
diff options
context:
space:
mode:
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 265f1452..9dcf5cb3 100755
--- a/tools/unnamed.py
+++ b/tools/unnamed.py
@@ -48,8 +48,8 @@ objects = None
if args.rootdir:
for line in subprocess.Popen(['make', '-C', args.rootdir, '-s', '-p', 'DEBUG=1'],
stdout=subprocess.PIPE).stdout.read().decode().split('\n'):
- if line.startswith('pokered_obj := '):
- objects = line[19:].strip().split()
+ if line.startswith('pokered_obj :='):
+ objects = line[len('pokered_obj :='):].strip().split()
break
else:
print('Error: Object files not found!', file=sys.stderr)