diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-10-27 19:13:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-27 19:13:10 +0000 |
commit | ee67201ca1d8c15d476366a6e2df660ed43781b7 (patch) | |
tree | 53468d2b8c251305aecf2604bf8a1ade677e9e1e /bootstrap/vagrant-onap/lib/policy | |
parent | 6642b8f93e0a109c2f85da27dc54453a833e070c (diff) | |
parent | f6c0bf15311b7079eb385e5cfb82be915724ab17 (diff) |
Merge "Fix regex for coverage projects function"
Diffstat (limited to 'bootstrap/vagrant-onap/lib/policy')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/policy | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/bootstrap/vagrant-onap/lib/policy b/bootstrap/vagrant-onap/lib/policy index f43087b1d..be4cb2c18 100755 --- a/bootstrap/vagrant-onap/lib/policy +++ b/bootstrap/vagrant-onap/lib/policy @@ -5,19 +5,21 @@ set -o xtrace source /var/onap/functions policy_src_folder=$git_src_folder/policy -policy_repos=("api" "common" "docker" "drools-applications" "drools-pdp" "engine" "gui" "pap" "pdp") +policy_repos=("policy/api" "policy/common" "policy/docker" \ +"policy/drools-applications" "policy/drools-pdp" "policy/engine" \ +"policy/gui" "policy/pap" "policy/pdp") # clone_all_policy_repos() - Function that clones Policy source repo. function clone_all_policy_repos { - for dirc in ${policy_repos[@]}; do - clone_repo policy/$dirc $policy_src_folder/$dirc + for repo in ${policy_repos[@]}; do + clone_repo $repo $policy_src_folder${repo#*policy} done } # compile_all_policy_repos() - Function that compiles Policy source repo. function compile_all_policy_repos { - for dirc in ${policy_repos[@]}; do - compile_src $policy_src_folder/$dirc + for repo in ${policy_repos[@]}; do + compile_src $policy_src_folder${repo#*policy} done } |