commit fa099c6295d2f2af018158e126fcbda3f23b2efa
parent 6a7f74b92366bd58ffa2a5d3ae6012144afca6fb
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 1 Mar 2016 18:46:39 -0800
update pip with sudo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/uu b/bin/uu
@@ -46,6 +46,6 @@ git pull && \
git submodule sync; git submodule update
echo "## Updating pip"
-pip install --upgrade pip
+sudo -H pip install --upgrade pip
echo "## Updating pip packages"
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs sudo -H pip install -U