diff options
Diffstat (limited to 'bootstrap/vagrant-onap/lib')
-rw-r--r-- | bootstrap/vagrant-onap/lib/vnfsdk | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/bootstrap/vagrant-onap/lib/vnfsdk b/bootstrap/vagrant-onap/lib/vnfsdk index b73e06426..c23ed8581 100644 --- a/bootstrap/vagrant-onap/lib/vnfsdk +++ b/bootstrap/vagrant-onap/lib/vnfsdk @@ -5,22 +5,19 @@ set -o xtrace source /var/onap/functions vnfsdk_src_folder=$git_src_folder/vnfsdk - -vnfsdk_repos=("refrepo") +vnfsdk_repos=("vnfsdk/compliance" "vnfsdk/functest" "vnfsdk/lctest" "vnfsdk/model" "vnfsdk/pkgtools" "vnfsdk/refrepo" "vnfsdk/validation") # clone_all_vnfsdk_repos() - Function that clones vnfsdk source repo. function clone_all_vnfsdk_repos { - - for dirc in ${vnfsdk_repos[@]}; do - clone_repo vnfsdk/$dirc $vnfsdk_src_folder/$dirc + for repo in ${vnfsdk_repos[@]}; do + clone_repo $repo $vnfsdk_src_folder${repo#*vnfsdk} done } # compile_all_vnfsdk_repos - Function that builds vnfsdk source repo function compile_all_vnfsdk_repos { - - for dirc in ${vnfsdk_repos[@]}; do - clone_repo vnfsdk/$dirc $vnfsdk_src_folder/$dirc + for repo in ${vnfsdk_repos[@]}; do + compile_src $vnfsdk_src_folder${repo#*vnfsdk} done } |