From 9740102e6414317295b4afe0411ed0f43f5cfc80 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Tue, 23 Feb 2016 19:26:36 +0100 Subject: fix makedep when encoutering GAMEL (nw) --- scripts/build/makedep.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/build/makedep.py') diff --git a/scripts/build/makedep.py b/scripts/build/makedep.py index 88035d776af..a80582d0161 100644 --- a/scripts/build/makedep.py +++ b/scripts/build/makedep.py @@ -203,8 +203,7 @@ def parse_file_for_drivers(root, srcfile): content = content.strip() if len(content)>0: if content.startswith('COMP') or content.startswith('CONS') or content.startswith('GAME') or content.startswith('SYST') or content.startswith('GAMEL'): - name = content[4:] - splitname = name.rsplit(',', 14) + splitname = content.split(',', 3) if len(splitname)>1: drivers.append(splitname[1]) return 0 -- cgit v1.2.3-70-g09d2