Skip to content

Commit

Permalink
Create navigation link to all only if regress.html exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Mar 26, 2024
1 parent de63ad6 commit 69a4061
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regress-html.pl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ sub write_html_date_file {
$mode{release} ? "Release" : "";
my @nav = (
Top => "../../test.html",
All => ($opts{l} || $host ? "regress.html" : undef),
All => (($opts{l} || $host) && -f "regress.html" ?
"regress.html" : undef),
Latest => (! $opts{l} ? "latest.html" : undef),
Running => "run.html");
html_header($html, "OpenBSD $typename Results",
Expand Down

0 comments on commit 69a4061

Please sign in to comment.