Create 4G UE SIM info in build dir, restore old build success message

This commit is contained in:
Robert Schmidt
2022-10-07 10:28:24 +02:00
parent 3e7ec35e11
commit 9d24233430
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -665,7 +665,7 @@ function main() {
compilations nas_sim_tools conf2uedata
# generate USIM data
if [ -f $dbin/conf2uedata ]; then
if [ -f conf2uedata ]; then
install_nas_tools $conf_nvram_path $DIR/$BUILD_DIR/build "$DIR/$BUILD_DIR/build/conf2uedata.txt"
else
echo_warning "not generated UE NAS files: binaries not found"
+4 -2
View File
@@ -230,8 +230,10 @@ compilations() {
cat $dlog/$2.txt
echo_info "====== End of log for $2.txt ======"
fi
if [[ $ret -ne 0 ]]; then
check_warnings "$dlog/$2.txt"
check_warnings "$dlog/$2.txt"
if [[ $ret -eq 0 ]]; then
echo_success "$2 compiled"
else
check_errors "$dlog/$2.txt"
echo_error "$2 compilation failed"
exit 1