Change-Id: Ieec01bf01c52b8b51f7ab8b89c21ce5473d52c06
info("build logs can be found in:\n $localrepo/$dist/$arch/logs");
info("build roots located in:\n $scratch_dir.*");
if (%errors || %expansion_errors || @export_errors || ($succeeded_packages == 0 && @skipped == 0)) {
- exit 1;
+ return 1;
}
-
+ return 0;
}
#---------------------------------------------------------------------
sleep(1);
}
update_repo();
-build_report();
+my $build_status = build_report();
profiling_report();
-
-exit 0
+exit $build_status