ci/aws: Use bash as default shell on windows
C:\msys64\msys2_shell.cmd -defterm -here -no-start -mingw64 is totally screwed but executing bash directly works perfectly.
This commit is contained in:
parent
6f8475804c
commit
d5ba8c658f
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
|
|||
Start-Service sshd
|
||||
Set-Service -Name sshd -StartupType 'Automatic'
|
||||
|
||||
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Users\Administrator\.dotnet\tools\pwsh.exe" -PropertyType String -Force
|
||||
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\msys64\usr\bin\bash.exe" -PropertyType String -Force
|
||||
|
||||
ConvertFrom-Json -InputObject @'
|
||||
$(perl -pe 's#\n#\r\n#' "$ID_PUB_PATH" | jq -Rs .)
|
||||
|
|
|
|||
Loading…
Reference in a new issue