From: Renz Christian Bagaporo Date: Tue, 11 Dec 2018 12:07:18 +0000 (+0800) Subject: tools: fix makefile converter windows path issue X-Git-Tag: v3.3-beta2~176^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d6e21795bef14e4b1a64a2970b953efa314c9d8;p=esp-idf tools: fix makefile converter windows path issue --- diff --git a/tools/cmake/convert_to_cmake.py b/tools/cmake/convert_to_cmake.py index d792dd11b5..5eea50f81c 100755 --- a/tools/cmake/convert_to_cmake.py +++ b/tools/cmake/convert_to_cmake.py @@ -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"]