From cd8824ac04989e625d7f1ae442498383250932a9 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 4 Mar 2015 16:40:19 -0800 Subject: [PATCH] Pass PIP_FIND_LINKS through sudo to pip We weren't actually using the wheels since PIP_FIND_LINKS environmental variable was getting lost during the sudo Change-Id: I4a89a70df63772a16ee5a8c3f1cd86e9c7bb5242 --- inc/python | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/python b/inc/python index dfc4d63ca4..d72c3c94d7 100644 --- a/inc/python +++ b/inc/python @@ -97,6 +97,7 @@ function pip_install { http_proxy=${http_proxy:-} \ https_proxy=${https_proxy:-} \ no_proxy=${no_proxy:-} \ + PIP_FIND_LINKS=$PIP_FIND_LINKS \ $cmd_pip install \ $@ @@ -108,6 +109,7 @@ function pip_install { http_proxy=${http_proxy:-} \ https_proxy=${https_proxy:-} \ no_proxy=${no_proxy:-} \ + PIP_FIND_LINKS=$PIP_FIND_LINKS \ $cmd_pip install \ -r $test_req fi