diff mbox series

fetch2: Add GIT_CACHE_PATH and SSL_CERT_DIR into FETCH_EXPORT_VARS

Message ID 20230224113032.841394-1-cal@brightsign.biz
State Accepted, archived
Commit 9414ba62454c6b911addf6b0bc02af2afc69b926
Headers show
Series fetch2: Add GIT_CACHE_PATH and SSL_CERT_DIR into FETCH_EXPORT_VARS | expand

Commit Message

cal@brightsign.biz Feb. 24, 2023, 11:30 a.m. UTC
From: Caner Altinbasak <cal@brightsign.biz>

These environment variables are needed by gclient and needed to be
passed into fetcher.
---
 lib/bb/fetch2/__init__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--
2.30.2

BrightSign considers your privacy to be very important. The emails you send to us will be protected and secured. Furthermore, we will only use your email and contact information for the reasons you sent them to us and for tracking how effectively we respond to your requests.
diff mbox series

Patch

diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 747356dfa..cf65727a2 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -855,7 +855,9 @@  FETCH_EXPORT_VARS = ['HOME', 'PATH',
                      'AWS_PROFILE',
                      'AWS_ACCESS_KEY_ID',
                      'AWS_SECRET_ACCESS_KEY',
-                     'AWS_DEFAULT_REGION']
+                     'AWS_DEFAULT_REGION',
+                     'GIT_CACHE_PATH',
+                     'SSL_CERT_DIR']

 def get_fetcher_environment(d):
     newenv = {}