From bd0acdc52752986bb6fce4ead65ec4e53a1cbaa5 Mon Sep 17 00:00:00 2001 From: Sarah Marsh Date: Fri, 26 Aug 2016 17:21:35 -0500 Subject: [PATCH] Check executable --- tools/toolchains/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/toolchains/__init__.py b/tools/toolchains/__init__.py index 512c3476e4..dc7e9bd714 100644 --- a/tools/toolchains/__init__.py +++ b/tools/toolchains/__init__.py @@ -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)