microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.8k stars 6.3k forks source link

Redirect bootstrap-vcpkg.sh in Msys2 bash to bootstrap.bat #10595

Open linquize opened 4 years ago

linquize commented 4 years ago

Redirect bootstrap-vcpkg.sh in Msys2 bash to bootstrap.bat

In Msys2 bash, uname -s returns MSYS_NT-6.1-7601 in Win7.

PhoebeHui commented 3 years ago

Related to https://github.com/microsoft/vcpkg/issues/10578.

Neumann-A commented 1 year ago

@JackBoosY close? I think it already does this. At least in git bash I can execute either

JackBoosY commented 1 year ago

@JackBoosY close? I think it already does this. At least in git bash I can execute either

git bash can, but msys2 bash can't.

numericlee commented 1 year ago

.\vcpkg\bootstrap-vcpkg.bat .vcpkgbootstrap-vcpkg.bat: command not found

do I need to chmod this?

dg0yt commented 1 year ago

do I need to chmod this?

No. In a sh shell, you need forward slashes:

./vcpkg/bootstrap-vcpkg.bat