Skip to content

Commit

Permalink
Fix brew install formula error for ssl 1.0.2 on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoH2O1999 committed Nov 28, 2023
1 parent 889d7a4 commit 1fcdc1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/builder/darwin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ export default class MacOSBuilder extends Builder {
ssl,
sslContent.replace('system "make", "test"\n', '')
);
await exec.exec(`brew install ./${url.name}.rb`, [], {cwd: tempPath});
await exec.exec(`brew install --build-from-source ./${url.name}.rb`, [], {
cwd: tempPath
});
let installPath = '';
await exec.exec(`brew --prefix ${url.name}`, [], {
listeners: {
Expand Down

0 comments on commit 1fcdc1e

Please sign in to comment.