Skip to content

Commit

Permalink
remove redundant clone
Browse files Browse the repository at this point in the history
  • Loading branch information
David Bailey committed Feb 10, 2021
1 parent 32e6746 commit d7bd9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl-sys/build/find_normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn resolve_with_wellknown_homebrew_location(dir: &str) -> Option<PathBuf> {
// `pkg-config` on brew doesn't necessarily contain settings for openssl apparently.
let homebrew = Path::new(dir).join("opt/[email protected]");
if homebrew.exists() {
return Some(homebrew.to_path_buf());
return Some(homebrew);
}

// Calling `brew --prefix <package>` command usually slow and
Expand Down

0 comments on commit d7bd9be

Please sign in to comment.