DEV-44838 - Fix a silly bug in yet another place: find_in_path returns a list, so select the first element.

meow-7.2.2
Nathan Wilcox 2010-01-11 11:07:04 -08:00
parent 11eac588c2
commit 33df069238
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ class WindowsSetup(PlatformSetup):
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)