Bug report
Bug description:
Since de2a73d python-config.sh.in is using bashisms but declaring #!/bin/sh as the shell. As a result, it now throws errors on systems using non-bash shells:
$ python3.13-config
/usr/bin/python3.13-config: 8: [[: not found
Usage: /usr/bin/python3.13-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir|--embed
FWICS, there's no reason to use [[ ... ]] over plain shell [ ... ] there.
CC @kiendang
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Linux
Linked PRs
Bug report
Bug description:
Since de2a73d
python-config.sh.inis using bashisms but declaring#!/bin/shas the shell. As a result, it now throws errors on systems using non-bash shells:FWICS, there's no reason to use
[[ ... ]]over plain shell[ ... ]there.CC @kiendang
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Linux
Linked PRs