SIGN IN SIGN UP

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
M
Michał Górny committed
7d2447137e117ea9a6ee1493bce0b071c76b1bd7
Parent: 141baba
Committed by GitHub <noreply@github.com> on 6/11/2024, 7:11:13 AM