From ea32a648e486a9f5a90d8083f06721577d28a3da Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 8 Jun 2015 12:31:13 -0700 Subject: [PATCH] Call sudo with -H in pip_install Commit 7aa7699acb764fd73322f8926eb5e967d71e25b0 was an incomplete cherry pick since it missed the part that added -H to sudo pip install. This is similar to what was added in change If791b9b25d6a4280dab19117004184e57e78d038. This is needed on stable/icehouse only since the change was made in Kilo originally and backported to stable/juno. This should fix grenade against stable/juno changes where the 'old' side is stable/icehouse. Change-Id: Ia52823ec2e322f78d407993010eb04adf39a242c Closes-Bug: #1463149 --- functions-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions-common b/functions-common index a4a0818c9e..304eed8fda 100644 --- a/functions-common +++ b/functions-common @@ -1356,7 +1356,7 @@ function pip_install { CMD_PIP=$DEST/.venv/bin/pip SUDO_PIP="env" else - SUDO_PIP="sudo" + SUDO_PIP="sudo -H" CMD_PIP=$(get_pip_command) fi