summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Wilcox <inoshiro@lindenlab.com>2010-01-11 11:07:04 -0800
committerNathan Wilcox <inoshiro@lindenlab.com>2010-01-11 11:07:04 -0800
commit33df069238130a9e8c02a2aadcd41956780397db (patch)
tree957948be84de407e526980a77c6d88d9bba717ff
parent11eac588c2e26b42e269da9394bbb8918552fb1c (diff)
DEV-44838 - Fix a silly bug in yet another place: find_in_path returns a list, so select the first element.
-rwxr-xr-xindra/develop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/develop.py b/indra/develop.py
index 71569f15d2..897fbb6544 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -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)