From 1e52115a6b1d3288a58ebbd054a4bbfe68fd70f0 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 16 Dec 2022 00:59:50 -0800 Subject: [PATCH] ci/aws: Document how to run a POSIX script on windows --- ci/release/aws/ensure.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ci/release/aws/ensure.sh b/ci/release/aws/ensure.sh index c850e4315..801261a0f 100755 --- a/ci/release/aws/ensure.sh +++ b/ci/release/aws/ensure.sh @@ -457,10 +457,14 @@ New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Wi Restart-Computer EOF -# Use the following to get a pure MSYS2 shell: -# ssh -t "$CI_D2_WINDOWS_AMD64" 'C:\msys64\msys2_shell.cmd -defterm -here -no-start -mingw64' -# Use the following to run a command in a pure MSYS2 shell: +# To run a POSIX script: +# ssh "$CI_D2_WINDOWS_AMD64" sh -s -- <