summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/mso
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/lib/mso')
-rwxr-xr-xbootstrap/vagrant-onap/lib/mso17
1 files changed, 6 insertions, 11 deletions
diff --git a/bootstrap/vagrant-onap/lib/mso b/bootstrap/vagrant-onap/lib/mso
index 6ff4bbe3e..0f29b33c5 100755
--- a/bootstrap/vagrant-onap/lib/mso
+++ b/bootstrap/vagrant-onap/lib/mso
@@ -1,27 +1,22 @@
#!/bin/bash
-set -o xtrace
-
source /var/onap/functions
src_folder=$git_src_folder/mso
-mso_repos=("chef-repo" "docker-config" "libs" "mso-config")
+mso_repos=("mso" "mso/chef-repo" "mso/docker-config" "mso/libs"
+"mso/mso-config")
# clone_all_mso_repos() - Function that clones MSO source repo.
function clone_all_mso_repos {
- clone_repo mso $src_folder
-
- for dirc in ${mso_repos[@]}; do
- clone_repo mso/$dirc $src_folder/$dirc
+ for repo in ${mso_repos[@]}; do
+ clone_repo $repo $src_folder${repo#*mso}
done
}
# compile_all_mso_repos() - Function that compiles MSO source repo.
function compile_all_mso_repos {
- compile_src $src_folder
-
- for dirc in ${mso_repos[@]}; do
- compile_src $src_folder/$dirc
+ for repo in ${mso_repos[@]}; do
+ compile_src $src_folder${repo#*mso}
done
}