summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-12-21 23:26:23 -0800
committerMatthewLi <matthew.lijun@huawei.com>2015-12-21 23:27:29 -0800
commita24a25980697413ae2b5fa67d823fca422f55bb0 (patch)
tree2a719a4f14ada7d35b736a826873adce9732ec11
parent7c2ce5760eebd29dfcccf138d2c023c76267b9ba (diff)
amend env preparation bug fix
JIRA: BOTTLENECK-4 Change-Id: Ib7731b51cb5001aa16ff071b03e236fb379f7a22 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh b/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
index fac94032..9bad405e 100755
--- a/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
+++ b/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
@@ -22,6 +22,9 @@ EXTERNAL_NET=net04_ext
echo "INFO: Creating openstack credentials .."
+if [ -d $RELENG_REPO_DIR ]; then
+ rm -rf ${RELENG_REPO_DIR}
+fi
mkdir -p ${RELENG_REPO_DIR}
git config --global http.sslVerify false
git clone ${RELENG_REPO} ${RELENG_REPO_DIR}