From dae340416d5eec55b47bcfd98b70f455b98c01ac Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Thu, 29 Jan 2015 14:04:46 +0000
Subject: [PATCH] git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6449
 818b1a75-f10b-46b9-bf7c-635c3b92a50f

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

diff --git a/targets/build_oai.bash b/targets/build_oai.bash
index 3e505eb95f4..f2af775341d 100755
--- a/targets/build_oai.bash
+++ b/targets/build_oai.bash
@@ -250,8 +250,7 @@ done
 # create a bin dir
 #####################
 echo_info "1. Creating the bin dir ..." 
-rm -rf bin
-mkdir -m 777 -p bin 
+mkdir -m 777 bin 
 
 build_date=`date +%Y_%m_%d`
 oai_build_date="oai_built_${build_date}"
@@ -522,7 +521,7 @@ build_epc(){
 
     epc_compiled=1
 
-    echo_info "Note: this scripts tested only on Ubuntu 12.04 x64, 14.04 x64"
+    echo_info "Note: this scripts tested only on Ubuntu 14.04x64"
 
 ######################################
 # CHECK MISC SOFTWARES AND LIBS      #
@@ -549,7 +548,7 @@ build_epc(){
 
     echo_info "5. configure and compile epc"
 
-    output=$(compile_epc $OAI_CLEAN  >> bin/install_log.txt  2>&1 )
+    output=$(compile_epc $OAI_CLEAN  >> $OPENAIR_TARGETS/bin/install_log.txt  2>&1 )
     epc_compiled=$?
     if [ $epc_compiled -ne 0 ]; then
         echo_error "EPC compilation failed : check the installation log file bin/install_log.txt" 
-- 
GitLab