Lines 33-48
Link Here
|
33 |
# License along with this library; if not, write to the Free Software |
33 |
# License along with this library; if not, write to the Free Software |
34 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
34 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
35 |
# MA 02111-1307 USA |
35 |
# MA 02111-1307 USA |
36 |
# |
36 |
# |
37 |
#************************************************************************* |
37 |
#************************************************************************* |
38 |
# |
38 |
# |
39 |
# build - build entire project |
39 |
# build - build entire project |
40 |
# |
40 |
# |
|
|
41 |
|
42 |
# Force build timestamp printing at the immediate start of the program |
43 |
print "s build " . time() . "\n"; |
44 |
|
41 |
use Config; |
45 |
use Config; |
42 |
use POSIX; |
46 |
use POSIX; |
43 |
use Cwd qw (cwd); |
47 |
use Cwd qw (cwd); |
44 |
use File::Path; |
48 |
use File::Path; |
45 |
|
49 |
|
46 |
use lib ("$ENV{SOLARENV}/bin/modules"); |
50 |
use lib ("$ENV{SOLARENV}/bin/modules"); |
47 |
|
51 |
|
48 |
if (defined $ENV{COMMON_ENV_TOOLS}) { |
52 |
if (defined $ENV{COMMON_ENV_TOOLS}) { |
Lines 2243-2258
Link Here
|
2243 |
$build_finished++; |
2247 |
$build_finished++; |
2244 |
generate_html_file(1); |
2248 |
generate_html_file(1); |
2245 |
rmtree(CorrectPath($tmp_dir), 0, 1) if ($tmp_dir); |
2249 |
rmtree(CorrectPath($tmp_dir), 0, 1) if ($tmp_dir); |
2246 |
# if ($exit_code) { |
2250 |
# if ($exit_code) { |
2247 |
# finish_logging("error occured"); |
2251 |
# finish_logging("error occured"); |
2248 |
# } else { |
2252 |
# } else { |
2249 |
# finish_logging; |
2253 |
# finish_logging; |
2250 |
# }; |
2254 |
# }; |
|
|
2255 |
print "e build " . time() . "\n"; |
2251 |
exit($exit_code); |
2256 |
exit($exit_code); |
2252 |
}; |
2257 |
}; |
2253 |
|
2258 |
|
2254 |
sub deliver_module { |
2259 |
sub deliver_module { |
2255 |
return if ($show); |
2260 |
return if ($show); |
2256 |
my $module = shift; |
2261 |
my $module = shift; |
2257 |
delete $build_in_progress{$module}; |
2262 |
delete $build_in_progress{$module}; |
2258 |
$module_path = CorrectPath($StandDir.$module); |
2263 |
$module_path = CorrectPath($StandDir.$module); |