amend env preparation bug fix
[bottlenecks.git] / rubbos / rubbos_scripts / 1-1-1 / scripts / env_preparation.sh
index fac9403..9bad405 100755 (executable)
@@ -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}