[windows] set ascii encoding (#3086)

This commit is contained in:
Aleksandr Chebotov
2021-04-02 17:53:08 +03:00
committed by GitHub
parent 3195add3cd
commit 0917a07677

View File

@@ -10,7 +10,7 @@ IF NOT DEFINED MSYS2_PATH_TYPE set MSYS2_PATH_TYPE=strict
IF NOT DEFINED MSYSTEM set MSYSTEM=mingw64
set CHERE_INVOKING=1
C:\msys64\usr\bin\bash.exe -leo pipefail %*
'@ | Out-File -FilePath "$shellPath\msys2bash.cmd"
'@ | Out-File -FilePath "$shellPath\msys2bash.cmd" -Encoding ascii
# gitbash <--> C:\Program Files\Git\bin\bash.exe
New-Item -ItemType SymbolicLink -Path "$shellPath\gitbash.exe" -Target "$env:ProgramFiles\Git\bin\bash.exe" | Out-Null