Skip to content

Commit

Permalink
Merge pull request #697 from nertpinx/brewfix
Browse files Browse the repository at this point in the history
More rigorous testing for homebrew
  • Loading branch information
yallop authored Nov 15, 2021
2 parents 8c1d2db + 72e6938 commit a232665
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/discover/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ let () =
is_homebrew :=
test_feature "brew"
(fun () ->
(Commands.command "brew ls --versions").Commands.stdout <> "");
let out = Commands.command "brew ls --versions" in
out.status == 0 && out.stdout <> ""
);

(* Test for MacOS X MacPorts. *)
is_macports :=
Expand Down

0 comments on commit a232665

Please sign in to comment.