summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bench.pl.in5
1 files changed, 5 insertions, 0 deletions
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";