From 0e2ccbba4f1c0b77e10138c7c7fa062b99623fb8 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 4 Feb 2012 17:53:05 -0500 Subject: [PATCH] Don't install over top of previous .venv. Change-Id: I339ae90ae4ed422dd9acfb1daa2765c6e3c36a2a --- slave_scripts/copy-venv.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slave_scripts/copy-venv.sh b/slave_scripts/copy-venv.sh index 69aaa203..4ee8c6f7 100755 --- a/slave_scripts/copy-venv.sh +++ b/slave_scripts/copy-venv.sh @@ -9,6 +9,8 @@ rm -fr jenkins_venvs tar xfz venv.tgz rm venv.tgz if [ -f .cache.bundle ] ; then + rm -rf .venv + virtualenv --no-site-packages .venv pip install --upgrade -E .venv file://`pwd`/.cache.bundle rm .cache.bundle else