summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-11 07:29:01 (GMT)
committerGitHub <noreply@github.com>2024-06-11 07:29:01 (GMT)
commit7993268beb9442c063d142860135bd5d84c2946e (patch)
tree50c9785d33d9df7aba70ea0762a21fb392c043ab /Python/fileutils.c
parent52225c64f7cd55f2bfe8515d4daf1a5ed4be6d7b (diff)
downloadcpython-7993268beb9442c063d142860135bd5d84c2946e.zip
cpython-7993268beb9442c063d142860135bd5d84c2946e.tar.gz
cpython-7993268beb9442c063d142860135bd5d84c2946e.tar.bz2
[3.13] gh-120291: Fix a bashism in python-config.sh.in (GH-120292) (#120341)
gh-120291: Fix a bashism in python-config.sh.in (GH-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 GH-120291 (cherry picked from commit 7d2447137e117ea9a6ee1493bce0b071c76b1bd7) Co-authored-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions