Skip to content
Snippets Groups Projects
Commit 14d52205 authored by Daniel Brown's avatar Daniel Brown
Browse files

fixing kat.exe for non-windows machines

parent e9230ca0
No related branches found
No related tags found
No related merge requests found
......@@ -179,11 +179,15 @@ class kat(object):
# Get the environment variable for where Finesse is stored
self.__finesse_dir = os.environ.get('FINESSE_DIR')
katexe = "kat"
if os.sys.platform == "win32":
katexe += ".exe"
if self.__finesse_dir == None :
raise MissingFinesseEnvVar()
kat_exec = os.path.join(self.__finesse_dir,'kat.exe')
kat_exec = os.path.join(self.__finesse_dir, katexe)
else:
kat_exec = self.__katexe
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment