]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
make sure that venv is always removed prior to creating it 272/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 4 Jan 2016 15:11:16 +0000 (10:11 -0500)
committerAlfredo Deza <adeza@redhat.com>
Mon, 4 Jan 2016 15:11:16 +0000 (10:11 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
scripts/build_utils.sh

index 105a546028686e6c8b4cc6662c64999b2641b680..2abf4cc114f527b3299a99c3c6211a4df265fc44 100644 (file)
@@ -14,6 +14,7 @@ install_python_packages () {
     #   install_python_packages "to_install[@]"
 
     # Create the virtualenv
+    rm -rf "$WORKSPACE/venv"
     virtualenv $WORKSPACE/venv
 
     # Define and ensure the PIP cache