Fix a long-standing bug in the nightly build that was preventing
e-mails from being sent properly. This commit was SVN r6537.
Этот коммит содержится в:
родитель
526217b9fc
Коммит
76a23519bf
@ -408,11 +408,14 @@ sub try_build {
|
|||||||
# save the compile warnings
|
# save the compile warnings
|
||||||
my $make_all_stderr = $ret->{stderr};
|
my $make_all_stderr = $ret->{stderr};
|
||||||
|
|
||||||
# and check it, if the user does not disable it
|
# and check it, if the user does not disable it. Save and restore
|
||||||
|
# TMPDIR.
|
||||||
if ( $nocheck == 0 ) {
|
if ( $nocheck == 0 ) {
|
||||||
|
my $foo = $ENV{TMPDIR};
|
||||||
$ENV{TMPDIR} = "$installdir/tmp";
|
$ENV{TMPDIR} = "$installdir/tmp";
|
||||||
mkdir($ENV{TMPDIR}, 0777);
|
mkdir($ENV{TMPDIR}, 0777);
|
||||||
$ret = do_command($merge_output, "make check");
|
$ret = do_command($merge_output, "make check");
|
||||||
|
$ENV{TMPDIR} = $foo;
|
||||||
if ($ret->{status} != 0) {
|
if ($ret->{status} != 0) {
|
||||||
$ret->{make_all_stderr} = $make_all_stderr;
|
$ret->{make_all_stderr} = $make_all_stderr;
|
||||||
$ret->{message} = "Failed to \"make check\"";
|
$ret->{message} = "Failed to \"make check\"";
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user