Fix openssl cert path in fbtenv (#2408)

* Temp fix openssl  cert path
* Moving fix from CI to fbtenv
This commit is contained in:
Max Andreev 2023-02-17 12:16:53 +03:00 committed by GitHub
parent 1e98361299
commit 32b74b968e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";