]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112507: Detect Cygwin and MSYS with `uname` instead of `$OSTYPE` (GH-112508)
authorJames Morris <6653392+J-M0@users.noreply.github.com>
Mon, 11 Dec 2023 17:27:15 +0000 (12:27 -0500)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 17:27:15 +0000 (17:27 +0000)
commitd7b5f102319bb0389c5248e9ecf533eae4163424
tree79722f4d33c3fcbe665be1805e8010060f39d698
parentf4fe65e2dd7eda33c098c8af3a1974c5f7f11ab7
gh-112507: Detect Cygwin and MSYS with `uname` instead of `$OSTYPE` (GH-112508)

Detect Cygwin and MSYS with `uname` instead of `$OSTYPE`

`$OSTYPE` is not defined by POSIX and may not be present in other shells.
`uname` is always available in any shell.
Lib/venv/scripts/common/activate