From 3f43d0f464b8da5829ff652a3208720c74d1882b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 23 Sep 2019 13:51:40 +0200 Subject: don't prepare fd if it was already prepared --- src/benchmarks/fd.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/benchmarks/fd.py b/src/benchmarks/fd.py index e133e1c..21a987d 100644 --- a/src/benchmarks/fd.py +++ b/src/benchmarks/fd.py @@ -41,6 +41,9 @@ class BenchmarkFd(Benchmark): def prepare(self): super().prepare() + if os.path.exists(self.build_dir): + return + fd_version = "v7.4.0" self.results["facts"]["versions"]["fd"] = fd_version fd_url = ("https://github.com/sharkdp/fd/releases/latest/download/" -- cgit v1.2.3