From 4b7fa59c4e655394c8abfb4f687fc8a88ae27e3a Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 7 May 2024 11:28:54 +0200 Subject: [PATCH] Hanlde space in shell path --- kiwixbuild/configs/winbash.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kiwixbuild/configs/winbash.py b/kiwixbuild/configs/winbash.py index b22b794..b228a9f 100644 --- a/kiwixbuild/configs/winbash.py +++ b/kiwixbuild/configs/winbash.py @@ -44,3 +44,8 @@ class WinBashConfigInfo(ConfigInfo): super().set_comp_flags(env) env["PATH"] += ["C:\\Program Files\\Git\\bin"] env["CXXFLAGS"] = "-EHsc -MD " + env["CXXFLAGS"] + + def get_env(self): + env = super().get_env() + env["MAKESHELL"] = "C:/'Program Files'/Git/bin/sh.exe" + return env