From f2ad94453db28613146e7be2f8cea9719fc60f5c Mon Sep 17 00:00:00 2001 From: j Date: Sat, 9 Jan 2016 12:47:16 +0530 Subject: [PATCH] use ssl certs --- ctl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ctl b/ctl index 2bd19a9..17eb02a 100755 --- a/ctl +++ b/ctl @@ -28,9 +28,6 @@ else export PLATFORM_ENV="$BASE/platform/$SYSTEM" fi fi -if [ $SYSTEM == "Darwin" ]; then - export DYLD_FALLBACK_LIBRARY_PATH="$PLATFORM_ENV/lib" -fi PATH="$PLATFORM_ENV/bin:$PATH" SHARED_ENV="$BASE/platform/Shared" @@ -39,6 +36,12 @@ export SHARED_ENV PATH="$SHARED_ENV/bin:$PATH" export PATH +if [ $SYSTEM == "Darwin" ]; then + export DYLD_FALLBACK_LIBRARY_PATH="$PLATFORM_ENV/lib" + export SSL_CERT_FILE="$SHARED_ENV/etc/openssl/cert.pem" + export SSL_CERT_DIR="$SHARED_ENV/etc/openssl/certs" +fi + PYTHONPATH="$PLATFORM_ENV/lib/python3.4/site-packages:$SHARED_ENV/lib/python3.4/site-packages:$BASE/$NAME" export PYTHONPATH