Skip to content

Commit

Permalink
Pass more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc2k committed Apr 12, 2015
1 parent d61ae55 commit 0ef891b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fuselage/changes/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def command_exists(self, command):
elif command[0].startswith("/"):
return platform.exists(command[0])

for path in self.env["PATH"].split(os.pathsep):
# FIXME: This should use os.pathsep, but that breaks the tests as they stand
# rethink this!!
for path in self.env["PATH"].split(":"):
if platform.exists(os.path.join(path, command[0])):
return True

Expand Down

0 comments on commit 0ef891b

Please sign in to comment.