Use correct path to CMake bin directory, take 2

This commit is contained in:
Victor Zverovich 2015-03-04 07:51:09 -08:00
parent 85ef48cb6d
commit 5ad6c6bd7f

View File

@ -27,5 +27,5 @@ shutil.copytree('.', cppformat_dir,
for f in glob.glob('support/biicode/*'):
shutil.copy(f, cppformat_dir)
env = os.environ.copy()
env['PATH'] = os.path.dirname(cmake_program) + ':' + env['PATH']
env['PATH'] = os.path.abspath(os.path.dirname(cmake_program)) + ':' + env['PATH']
check_call(['bii', 'cpp:build'], cwd=project_dir, env=env)