Skip to content

Commit 177662c

Browse files
committed
use +x to allow for unset env var
1 parent 164b6d9 commit 177662c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/install_cpython.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function do_cpython_build {
4040
mkdir -p ${prefix}/lib
4141

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

0 commit comments

Comments
 (0)