diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-11 07:11:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 07:11:13 (GMT) |
commit | 7d2447137e117ea9a6ee1493bce0b071c76b1bd7 (patch) | |
tree | 9cffdc26c0b78b2d11ceb570e1d0f4a6bd71c5f1 /Lib/test/test_pydoc/test_pydoc.py | |
parent | 141babad9b4eceb83371bf19ba3a36b50dd05250 (diff) | |
download | cpython-7d2447137e117ea9a6ee1493bce0b071c76b1bd7.zip cpython-7d2447137e117ea9a6ee1493bce0b071c76b1bd7.tar.gz cpython-7d2447137e117ea9a6ee1493bce0b071c76b1bd7.tar.bz2 |
gh-120291: Fix a bashism in python-config.sh.in (#120292)
gh-120291: Fix bashisms in python-config.sh.in
Replace the use of bash-specific `[[ ... ]]` with POSIX-compliant
`[ ... ]` to make the `python-config` shell script work with non-bash
shells again. While at it, use `local` in a safer way, since it is
not in POSIX either (though universally supported).
Fixes #120291
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions