From f4f69fe6976361ef20024c989a2e3ab3731a8d8f Mon Sep 17 00:00:00 2001
From: thomasl <thomasl@eurecom.fr>
Date: Thu, 2 Apr 2015 15:22:15 +0000
Subject: [PATCH] add env variables in clean_all procedure

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7004 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 cmake_targets/tools/build_helper.bash | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cmake_targets/tools/build_helper.bash b/cmake_targets/tools/build_helper.bash
index 269ddc6d7af..024894622d2 100755
--- a/cmake_targets/tools/build_helper.bash
+++ b/cmake_targets/tools/build_helper.bash
@@ -139,8 +139,9 @@ clean_kernel() {
 }
 
 clean_all_files() {
+ set_openair_env
  dir=$OPENAIR_DIR/cmake_targets
- rm -rf $dir/log $OPENAIR_TARGETS/bin/* 
+ rm -rf $dir/log $OPENAIR_DIR/targets/bin 
  rm -rf $dir/lte_build_oai $dir/lte-simulators/build
  rm -rf $dir/epc_build_oai/build $dir/epc_build_oai/CMakeLists.txt
  rm -rf $dir/oaisim_build_oai/build $dir/oaisim_build_oai/CMakeLists.txt
-- 
GitLab