From ee1fbcd9fc48ea55e0d7a764a3ccecc62f6432bc Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Tue, 28 May 2024 13:50:17 -0700 Subject: [PATCH] Remove setting of SSL_CERT_FILE from emsdk launcher script Since we use curl now (#1355) this should no longer be needed. --- emsdk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/emsdk b/emsdk index 5fae040051..88144c3862 100755 --- a/emsdk +++ b/emsdk @@ -9,10 +9,8 @@ # First look for python bundled in Emsdk if [ -z "$EMSDK_PYTHON" ]; then PYTHON3="$(dirname "$0")/python/3.9.2-1_64bit/bin/python3" - PYTHON3_CERT_FILE="$(dirname "$0")/python/3.9.2-1_64bit/lib/python3.9/site-packages/certifi/cacert.pem" if [ ! -f "$PYTHON3" ]; then PYTHON3="$(dirname "$0")/python/3.7.4-2_64bit/bin/python3" - PYTHON3_CERT_FILE="$(dirname "$0")/python/3.7.4-2_64bit/lib/python3.7/site-packages/certifi/cacert.pem" fi if [ -f "$PYTHON3" ]; then EMSDK_PYTHON="$PYTHON3" @@ -22,11 +20,6 @@ if [ -z "$EMSDK_PYTHON" ]; then # https://github.com/emscripten-core/emsdk/issues/598 unset PYTHONHOME unset PYTHONPATH - - # This is needed for MacOS. Without this, the urlopen - # code will try to use /usr/local/etc/openssl/cert.pem - # which may or may not exist on the system. - export SSL_CERT_FILE="$PYTHON3_CERT_FILE" fi fi