Skip to content

Commit f0bc98c

Browse files
committed
[Config] do not check if alive2 exists if no-tv
1 parent 9009aed commit f0bc98c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/config.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,8 @@ let lookup_dependencies cwd =
445445

446446
if Sys.file_exists opt |> not then failwith ("opt binary not found: " ^ opt);
447447

448-
if Sys.file_exists alive_tv |> not then
448+
if (not !no_tv) && not (Sys.file_exists alive_tv) then
449449
failwith ("alive-tv binary not found: " ^ alive_tv);
450-
451450
{ opt; alive_tv }
452451

453452
let setup_output cwd out_dir =

0 commit comments

Comments
 (0)