tools: fix makefile converter windows path issue

This commit is contained in:
Renz Christian Bagaporo 2018-12-11 20:07:18 +08:00
parent 5511541d20
commit 5d6e21795b

View File

@ -118,6 +118,10 @@ def convert_project(project_path):
# Convert components as needed
for p in component_paths:
if "MSYSTEM" in os.environ:
cmd = ["cygpath", "-w", p]
p = subprocess.check_output(cmd).strip()
convert_component(project_path, p)
project_name = project_vars["PROJECT_NAME"]