From 1690e08400edb1f64fb647256bb196c8427e60e1 Mon Sep 17 00:00:00 2001 From: Idan Amit Date: Sun, 20 Aug 2017 08:58:14 +0300 Subject: Add the option to clone the source code repo Change-Id: Iba5f7e5a1c6586a1a8c158854f95904944ba62c0 Issue-Id: INT-101 Signed-off-by: Idan Amit Co-Authored-By: Victor Morales --- bootstrap/vagrant-onap/lib/mso | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bootstrap/vagrant-onap/lib/mso') diff --git a/bootstrap/vagrant-onap/lib/mso b/bootstrap/vagrant-onap/lib/mso index 4f88e9085..4b209062d 100755 --- a/bootstrap/vagrant-onap/lib/mso +++ b/bootstrap/vagrant-onap/lib/mso @@ -101,9 +101,11 @@ EOF # init_mso() - Function that initialize MSO services function init_mso { - clone_all_mso_repos - if [[ "$compile_repo" == "True" ]]; then - compile_all_mso_repos + if [[ "$clone_repo" == "True" ]]; then + clone_all_mso_repos + if [[ "$compile_repo" == "True" ]]; then + compile_all_mso_repos + fi fi install_mso -- cgit 1.2.3-korg