Revert "[windows] add bash wrapper from git (#1937)"

This reverts commit 8798c75d67.
This commit is contained in:
Aleksandr Chebotov
2020-11-05 11:37:02 +03:00
committed by GitHub
parent f5fdba51d7
commit 5c99d59f22
3 changed files with 4 additions and 10 deletions

View File

@@ -3,8 +3,8 @@ $shellPath = "C:\shells"
New-Item -Path $shellPath -ItemType Directory | Out-Null
# sh and bash <--> C:\msys64\usr\bin\bash.exe
New-Item -ItemType SymbolicLink -Path "$shellPath\bash.exe" -Target "C:\msys64\bin\bash.exe" | Out-Null
New-Item -ItemType SymbolicLink -Path "$shellPath\sh.exe" -Target "C:\msys64\bin\sh.exe" | Out-Null
New-Item -ItemType SymbolicLink -Path "$shellPath\bash.exe" -Target "C:\msys64\usr\bin\bash.exe" | Out-Null
New-Item -ItemType SymbolicLink -Path "$shellPath\sh.exe" -Target "C:\msys64\usr\bin\sh.exe" | Out-Null
# WSL is available on Windows Server 2019
if (Test-IsWin19)