mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:28:59 +08:00
Enabled using bootstrap.sh from any msys2 bash env. (#41779)
This commit is contained in:
parent
3de07eb09f
commit
36caac1012
@ -36,9 +36,9 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Enable using this entry point on windows from git bash by redirecting to the .bat file.
|
# Enable using this entry point on Windows from an msys2 or cygwin bash env. (e.g., git bash) by redirecting to the .bat file.
|
||||||
unixName=$(uname -s | sed 's/MINGW.*_NT.*/MINGW_NT/')
|
unixKernelName=$(uname -s | sed -E 's/(CYGWIN|MINGW|MSYS).*_NT.*/\1_NT/')
|
||||||
if [ "$unixName" = "MINGW_NT" ]; then
|
if [ "$unixKernelName" = CYGWIN_NT ] || [ "$unixKernelName" = MINGW_NT ] || [ "$unixKernelName" = MSYS_NT ]; then
|
||||||
if [ "$vcpkgDisableMetrics" = "ON" ]; then
|
if [ "$vcpkgDisableMetrics" = "ON" ]; then
|
||||||
args="-disableMetrics"
|
args="-disableMetrics"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user