Check executable

pull/2590/head
Sarah Marsh 2016-08-26 17:21:35 -05:00 committed by 0xc0170
parent f2df3ee809
commit b72f967956
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ def check_toolchain_path(function):
function -- the function to decorate
"""
def perform_check(self, *args, **kwargs):
if not exists(self.toolchain_path):
if not exists(self.toolchain_path) and not exists(self.toolchain_path+'.exe'):
error_string = 'Could not find executable for %s.\n Currently ' \
'set search path: %s'% (self.name, self.toolchain_path)
raise Exception(error_string)