From 48f8c9b7f3b7569b94c161926645ae1f14925a58 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Sun, 1 Jun 2014 21:41:38 -0700
Subject: [PATCH] Don't delete tarballs in run-wheel.sh

run-wheel.sh was deleting tarballs created by run-tarball.sh in the same
job. This meant Jenkins could not copy the tarballs and the tarball jobs
fail. Stop deleting tarballs and delete wheels instead as part of pre
wheel generation house keeping.

Change-Id: I4a850a289726ea6d25c72cf275fbba5aa60289b2
partial-bug: #1325456
---
 modules/openstack_project/files/slave_scripts/run-wheel.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/openstack_project/files/slave_scripts/run-wheel.sh b/modules/openstack_project/files/slave_scripts/run-wheel.sh
index 8286930c1b..0fdc40f91a 100644
--- a/modules/openstack_project/files/slave_scripts/run-wheel.sh
+++ b/modules/openstack_project/files/slave_scripts/run-wheel.sh
@@ -28,7 +28,7 @@ fi
 
 source /usr/local/jenkins/slave_scripts/select-mirror.sh $org $project
 
-rm -f dist/*.tar.gz
+rm -f dist/*.whl
 tox -evenv pip install wheel
 tox -evenv python setup.py bdist_wheel