summaryrefslogtreecommitdiff
path: root/indra/develop.py
diff options
context:
space:
mode:
authorNathan Wilcox <inoshiro@lindenlab.com>2010-01-08 18:00:32 -0800
committerNathan Wilcox <inoshiro@lindenlab.com>2010-01-08 18:00:32 -0800
commit8246b382b732a9b49c49a012274cd17ce1af4e94 (patch)
tree7773aa62776509394aa89c6a9bf05c58108861fe /indra/develop.py
parent61bc236b355e19bf09851b79c7d73b7210b4a7af (diff)
DEV-44838 - find_in_path() returns a list of candidates. Select the first.
Diffstat (limited to 'indra/develop.py')
-rwxr-xr-xindra/develop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/develop.py b/indra/develop.py
index e19ecb7314..17ac1b3801 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -588,7 +588,7 @@ class WindowsSetup(PlatformSetup):
'''Run a program. If the program fails, raise an exception.'''
assert name is not None, 'On windows an executable path must be given in name.'
if not os.path.isfile(name):
- name = self.find_in_path(name)
+ name = self.find_in_path(name)[0]
while retries:
retries = retries - 1
print "develop.py tries to run:", command