curaengine: style

This commit is contained in:
Jack Nagel 2014-05-29 12:41:55 -05:00
parent 413b1b6ff0
commit 3168be1f12

View file

@ -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