Skip to content
Snippets Groups Projects
Commit 33df0692 authored by Nathan Wilcox's avatar Nathan Wilcox
Browse files

DEV-44838 - Fix a silly bug in yet another place: find_in_path returns a list,...

DEV-44838 - Fix a silly bug in yet another place: find_in_path returns a list, so select the first element.
parent 11eac588
No related branches found
No related tags found
No related merge requests found
......@@ -574,7 +574,7 @@ def get_build_cmd(self):
if self.gens[self.generator]['ver'] in [ r'8.0', r'9.0' ]:
config = '\"%s|Win32\"' % config
executable = self.find_in_path('buildconsole')
executable = self.find_in_path('buildconsole')[0]
cmd = "%(bin)s %(prj)s.sln /build /cfg=%(cfg)s" % {'prj': self.project_name, 'cfg': config, 'bin': executable}
return (executable, cmd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment