summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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