bench: add a "latest" symlink

* etc/bench.pl.in: here.
This commit is contained in:
Akim Demaille
2020-03-22 12:05:04 +01:00
parent 1c694e08cc
commit 5b0b0a1e08

View File

@@ -1228,6 +1228,11 @@ my $count = 1;
my $dir = "benches/$count";
mkdir $dir
or die "cannot create $dir";
unlink "benches/latest"
or die "cannot unlink benches/latest"
if -l "benches/latest";
symlink $count, "benches/latest"
or die "cannot create symlink";
chdir $dir
or die "cannot chdir $dir";