summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-01-28 13:06:02 +0100
committerantirez <antirez@gmail.com>2016-01-28 13:06:02 +0100
commit8870a7e14337a9fe88d40a883f3d67769ce53eb0 (patch)
tree6069462f5552e1627229690a79e1f3ca7f4d0cf7 /utils
parent5bbb09ed2c9a6ee1cb34d214d3d2c6744e99158f (diff)
downloadredis-8870a7e14337a9fe88d40a883f3d67769ce53eb0.tar.gz
03_test_release.sh: proper cleanup before testing.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/releasetools/03_test_release.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/releasetools/03_test_release.sh b/utils/releasetools/03_test_release.sh
index 8fb6e9501..3dfdcd6a3 100755
--- a/utils/releasetools/03_test_release.sh
+++ b/utils/releasetools/03_test_release.sh
@@ -13,6 +13,8 @@ ssh antirez@metal "export TERM=xterm;
cd /tmp;
rm -rf test_release_tmp_dir;
cd test_release_tmp_dir;
+ rm -f $TARNAME;
+ rm -rf redis-${TAG};
wget $DOWNLOADURL;
tar xvzf $TARNAME;
cd redis-${TAG};