summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/vfc
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/lib/vfc')
-rwxr-xr-xbootstrap/vagrant-onap/lib/vfc8
1 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap/vagrant-onap/lib/vfc b/bootstrap/vagrant-onap/lib/vfc
index 13e301598..9c232be28 100755
--- a/bootstrap/vagrant-onap/lib/vfc
+++ b/bootstrap/vagrant-onap/lib/vfc
@@ -52,9 +52,11 @@ function install_vfc {
function init_vfc {
install_package libmysqlclient-dev
- clone_all_vfc_repos
- if [[ "$compile_repo" == "False" ]]; then
- compile_all_vfc_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_vfc_repos
+ if [[ "$compile_repo" == "False" ]]; then
+ compile_all_vfc_repos
+ fi
fi
install_vfc