curaengine: style
This commit is contained in:
parent
413b1b6ff0
commit
3168be1f12
1 changed files with 5 additions and 2 deletions
|
@ -9,7 +9,10 @@ class Curaengine < Formula
|
|||
def install
|
||||
ENV.deparallelize
|
||||
system "make"
|
||||
# Newer version compile to build, older versions compile to bin
|
||||
bin.install(build.head? ? "build/CuraEngine" : "CuraEngine")
|
||||
if build.head?
|
||||
bin.install "build/CuraEngine"
|
||||
else
|
||||
bin.install "CuraEngine"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue