From 48d667b6550806eca0b348ad02ef15509fc6de56 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 18 Jan 2017 16:35:06 -0500 Subject: [PATCH] rm venv before builds --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 14ef31121..76897b0f8 100755 --- a/build.sh +++ b/build.sh @@ -11,7 +11,10 @@ if [ -n "${TEAMCITY_VERSION:-}" ]; then fi -VENV="$ROOT/venv" +VENV="$ROOT/build_venv" +if [ -d "$VENV" ]; then + rm -rf "$VENV" +fi virtualenv "$VENV" source "$VENV/bin/activate"