Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Fix build with build.sh (#862)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabiano Chiareto Fernandes <[email protected]>
  • Loading branch information
fabianofernandeszup authored Feb 18, 2021
1 parent c4c3da3 commit a1db972
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/formula/runner/local/pre_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ func (pr PreRunManager) buildFormula(formulaPath string) error {
if err := pr.shell.Build(info); err != nil {
return err
}
}

if err := pr.make.Build(info); err != nil { // Build formula with Makefile
} else if err := pr.make.Build(info); err != nil { // Build formula with Makefile
return err
}

Expand Down

0 comments on commit a1db972

Please sign in to comment.