summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorJulien <julien@caffeine.lu>2024-10-19 17:34:41 (GMT)
committerGitHub <noreply@github.com>2024-10-19 17:34:41 (GMT)
commit2a378dba987e125521b678364f0cd44b92dd5d52 (patch)
tree34e6429d7c15d79b902860c5459d7bca87b4d049 /Python/pymath.c
parent4b421e8aca7f2dccc5ac8604b78589941dd7974c (diff)
downloadcpython-2a378dba987e125521b678364f0cd44b92dd5d52.zip
cpython-2a378dba987e125521b678364f0cd44b92dd5d52.tar.gz
cpython-2a378dba987e125521b678364f0cd44b92dd5d52.tar.bz2
gh-125398: Convert paths in venv activate script when using Git Bash under Windows (GH-125399)
* Convert paths in venv activate script when using Git Bash under Windows With https://github.com/python/cpython/pull/112508 the check to converts paths when running on Windows was changed from using the non-posix environment variable `$OSTYPE` to using `uname` instead. However this missed the fact that when running under Git Bash on Windows, uname reports `MINGW*` (`$OSTYPE` is still `msys`). This results in `$PATH` being set to something like `D:\a\github-actions-shells\github-actions-shells\venv/Scripts:…`, instead of `/d/a/github-actions-shells/github-actions-shells/venv/Scripts`. Notably, the Git Bash is the bash shell that’s used for GitHub Actions Windows runners, and ships with VSCode.
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions