Skip to content

Commit

Permalink
Fix openssl autodetection
Browse files Browse the repository at this point in the history
  • Loading branch information
msprotz committed Jun 19, 2024
1 parent 2b9bc0b commit 584284e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/openssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def find_openssl_home():
mprint(f"Probing for openssl with brew ... ")
try:
result = subprocess.run(
["brew info --quiet openssl | egrep '^/' | cut -f 1 -d ' '"], shell=True, capture_output=True, text=True
["brew info --quiet openssl | egrep '^/' | cut -f 1 -d ' ' | tail -n 1"], shell=True, capture_output=True, text=True
).stdout.rstrip()
mprint("Found OpenSSL at", result)
return result
Expand Down

0 comments on commit 584284e

Please sign in to comment.