Add permission to home folder in pip installation

Pip installation of package with sudo will fail because of permission
issues in home folder. Adding -H option to sudo to fix this.

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I60222b300591aecdbd5e27a0bb86c1c62daca289
This commit is contained in:
Sreejith Punnapuzha 2021-03-25 15:00:05 -05:00
parent d38bcd8c44
commit e4970aa37d

View File

@ -12,4 +12,4 @@
# limitations under the License. # limitations under the License.
set -ex set -ex
sudo pip3 install yq sudo -H pip3 install yq