Skip to content

Commit 4205979

Browse files
authored
Remove setting of SSL_CERT_FILE from emsdk launcher script (#1391)
Since we use curl now (#1355) this should no longer be needed.
1 parent 8c38d2f commit 4205979

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

emsdk

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
# First look for python bundled in Emsdk
1010
if [ -z "$EMSDK_PYTHON" ]; then
1111
PYTHON3="$(dirname "$0")/python/3.9.2-1_64bit/bin/python3"
12-
PYTHON3_CERT_FILE="$(dirname "$0")/python/3.9.2-1_64bit/lib/python3.9/site-packages/certifi/cacert.pem"
1312
if [ ! -f "$PYTHON3" ]; then
1413
PYTHON3="$(dirname "$0")/python/3.7.4-2_64bit/bin/python3"
15-
PYTHON3_CERT_FILE="$(dirname "$0")/python/3.7.4-2_64bit/lib/python3.7/site-packages/certifi/cacert.pem"
1614
fi
1715
if [ -f "$PYTHON3" ]; then
1816
EMSDK_PYTHON="$PYTHON3"
@@ -22,11 +20,6 @@ if [ -z "$EMSDK_PYTHON" ]; then
2220
# https://github.com/emscripten-core/emsdk/issues/598
2321
unset PYTHONHOME
2422
unset PYTHONPATH
25-
26-
# This is needed for MacOS. Without this, the urlopen
27-
# code will try to use /usr/local/etc/openssl/cert.pem
28-
# which may or may not exist on the system.
29-
export SSL_CERT_FILE="$PYTHON3_CERT_FILE"
3023
fi
3124
fi
3225

0 commit comments

Comments
 (0)