Mercurial > repos > bornea > saint_tool
diff saint_wrapper.py @ 34:d525ea266d8a draft
Uploaded
author | bornea |
---|---|
date | Thu, 28 Jan 2016 16:41:02 -0500 |
parents | bec1c735fe96 |
children | 409b4e31c3d1 |
line wrap: on
line diff
--- a/saint_wrapper.py Thu Jan 28 16:38:47 2016 -0500 +++ b/saint_wrapper.py Thu Jan 28 16:41:02 2016 -0500 @@ -41,7 +41,7 @@ def first_run_check(): dirs_list = [] - for (dirpath, dirnames, filename) in os.walk(ins_path): + for (dirpath, dirnames, filename) in os.walk(str(ins_path)): dirs_list.extend(dirnames) break if r"SAINTexpress_v3.6.1__2015-05-03" in dirs_list: @@ -49,7 +49,7 @@ else: cmd = r"unzip SAINTexpress_v3.6.1__2015-05-03.zip" os.system(cmd) - os.chdir("./SAINTexpress_v3.6.1__2015-05-03") + os.chdir(str(ins_path) + "/SAINTexpress_v3.6.1__2015-05-03") cmd1 = r"make -j" os.system(cmd1)