From 32b74b968e8bb5730d95d0b3fd18b9cf90dca5b6 Mon Sep 17 00:00:00 2001 From: Max Andreev Date: Fri, 17 Feb 2023 12:16:53 +0300 Subject: [PATCH] Fix openssl cert path in fbtenv (#2408) * Temp fix openssl cert path * Moving fix from CI to fbtenv --- scripts/toolchain/fbtenv.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/toolchain/fbtenv.sh b/scripts/toolchain/fbtenv.sh index bedb3450..2d4d1724 100755 --- a/scripts/toolchain/fbtenv.sh +++ b/scripts/toolchain/fbtenv.sh @@ -289,6 +289,9 @@ fbtenv_main() fbtenv_check_download_toolchain || return 1; fbtenv_set_shell_prompt; fbtenv_print_version; + if [ "$SYS_TYPE" = "Linux" ]; then + SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt + fi PATH="$TOOLCHAIN_ARCH_DIR/python/bin:$PATH"; PATH="$TOOLCHAIN_ARCH_DIR/bin:$PATH"; PATH="$TOOLCHAIN_ARCH_DIR/protobuf/bin:$PATH";