From 82b9e5b0780a3747ef6e8ece54a3c008c5eba0ba Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Fri, 9 Jan 2015 10:59:26 +0000
Subject: [PATCH] git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6338
 818b1a75-f10b-46b9-bf7c-635c3b92a50f

---
 targets/build_oai.bash | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/targets/build_oai.bash b/targets/build_oai.bash
index 4952ace0d8..9e28232e90 100755
--- a/targets/build_oai.bash
+++ b/targets/build_oai.bash
@@ -593,18 +593,17 @@ build_epc(){
 }
 
 build_hss(){
-
-    hss_compiled=1
-    
     echo_info "Note: this script tested only for Ubuntu 12.04 x64 -> 14.04 x64"
 
 ######################################
 # CHECK MISC SOFTWARES AND LIBS      #
 ######################################
-    echo_info "4. check the required packages for HSS"
-    hss_certificate_generated=1;
-    
-    check_install_hss_software
+    if [ $DISABLE_CHECK_INSTALLED_SOFTWARE -eq 0 ]; then 
+        echo_info "4. check the required packages for HSS"
+        check_install_hss_software
+    else
+        echo_info "6. Not checking the required packages for HSS"
+    fi
     
     if [ $OAI_CLEAN -eq 1 ]; then
         check_install_freediamter
@@ -618,7 +617,7 @@ build_hss(){
 # compile HSS                        #
 ######################################
     echo_info "5. compile HSS"
-    
+
      output=$(compile_hss  $OAI_CLEAN >> bin/install_log.txt  2>&1 )
      hss_compiled=$?
      if [ $hss_compiled -eq 1 ]; then
-- 
GitLab