зеркало из https://github.com/mozilla/gecko-dev.git
Rebuild static pages when note is added.
This commit is contained in:
Родитель
a34d353a60
Коммит
5041c9db47
|
@ -54,7 +54,7 @@ if( $url = $form{"note"} ){
|
|||
$note =~ s/\</</gi;
|
||||
$note =~ s/\>/>/gi;
|
||||
$enc_note = url_encode( $note );
|
||||
lock;
|
||||
|
||||
open( NOTES,">>$tree/notes.txt");
|
||||
flock(NOTES, LOCK_EX);
|
||||
print NOTES "$buildtime|$buildname|$who|$now|$enc_note\n";
|
||||
|
@ -80,6 +80,11 @@ Go back to the Error Log</a>
|
|||
<a href=\"showbuilds.cgi?tree=$tree\">
|
||||
<br>Go back to the build Page</a>";
|
||||
|
||||
# Build tinderbox static pages
|
||||
$ENV{QUERY_STRING}="tree=$tree&static=1";
|
||||
$ENV{REQUEST_METHOD}="GET";
|
||||
system './showbuilds.cgi >/dev/null';
|
||||
|
||||
} else {
|
||||
|
||||
&GetBuildNameIndex;
|
||||
|
|
Загрузка…
Ссылка в новой задаче