From b80436e200f8f86333d99c95e37a955b676ab9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Fri, 31 Mar 2023 12:36:34 -0300 Subject: [PATCH] Temporary fix to listing on includes from Ninja on non-English locales. --- etc/windows_prepare.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/etc/windows_prepare.sh b/etc/windows_prepare.sh index a7ca879f3..9fa72dee1 100644 --- a/etc/windows_prepare.sh +++ b/etc/windows_prepare.sh @@ -19,6 +19,14 @@ if [[ $KERNEL == *Msys* ]]; then fi fi +# +# Fix CMake/Ninja include list when compiling on non-English locale +# +export VSLANG=1033 + +# +# Set bits based on ARCH +# export bits=64 if [[ "$ARCH" != "amd64" ]]; then export bits=32 @@ -75,6 +83,8 @@ if [[ -d "$PYTHON_DIR" ]]; then remove_path "/c/$pydir/Scripts" remove_path "/C/$pydir" remove_path "/C/$pydir/Scripts" - +else + echo "Python could not be found. Please install it." + exit 1 fi