Skip to content

Commit

Permalink
use +x to allow for unset env var
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrblck committed Jan 24, 2023
1 parent 164b6d9 commit 177662c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/install_cpython.sh
Expand Up @@ -40,7 +40,7 @@ function do_cpython_build {
mkdir -p ${prefix}/lib

# -Wformat added for https://bugs.python.org/issue17547 on Python 2.6
if [[ -z ${WITH_OPENSSL} ]]; then
if [[ -z ${WITH_OPENSSL+x} ]]; then
CFLAGS="-Wformat" ./configure --prefix=${prefix} --disable-shared $unicode_flags > /dev/null
else
CFLAGS="-Wformat" ./configure --prefix=${prefix} --with-openssl=${WITH_OPENSSL} --with-openssl-rpath=auto --disable-shared $unicode_flags > /dev/null
Expand Down

0 comments on commit 177662c

Please sign in to comment.