Harmonize build_oai color output

This commit is contained in:
Robert Schmidt
2023-07-07 08:35:29 +02:00
parent 557e3ba800
commit b896da85e7
2 changed files with 4 additions and 4 deletions
+3 -4
View File
@@ -448,11 +448,11 @@ function main() {
# Setting and printing OAI envs, we should check here #
#######################################################
cecho "OPENAIR_DIR = $OPENAIR_DIR" $green
echo "OPENAIR_DIR = $OPENAIR_DIR"
if [ "$CLEAN_ALL" = "1" ] ; then
clean_all_files
echo_info "Erased all previously producted files"
echo "Erased all previously producted files"
fi
dlog=$OPENAIR_DIR/cmake_targets/log
@@ -512,11 +512,10 @@ function main() {
# for historical reasons we build in a subdirectory cmake_targets/XYZ/build,
# e.g., cmake_targets/ran_build/build, hence the ../../..
CMAKE_CMD="$CMAKE_CMD ../../.."
echo_info "running $CMAKE_CMD"
echo_info "Running \"$CMAKE_CMD\""
eval $CMAKE_CMD
if [[ "$execlist" != "" ]]; then
echo_info "Compiling $execlist..."
compilations $BUILD_DIR all.txt $execlist
fi
+1
View File
@@ -222,6 +222,7 @@ compilations() {
shift 1
local targets=$@
cd $OPENAIR_DIR/cmake_targets/$dir/build
cecho "Running \"$MAKE_CMD $targets\"" $green
echo_info "Log file for compilation is being written to: $dlog/$logfile"
set +e
{