* etc/bench.pl.in: here.
---
 etc/bench.pl.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/etc/bench.pl.in b/etc/bench.pl.in
index d49742f1..023c2b01 100755
--- a/etc/bench.pl.in
+++ b/etc/bench.pl.in
@@ -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";
 
-- 
2.25.1


Reply via email to