aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/open-mesh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/open-mesh.rb')
-rw-r--r--Library/Formula/open-mesh.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/open-mesh.rb b/Library/Formula/open-mesh.rb
index c884777fb..e7f111d68 100644
--- a/Library/Formula/open-mesh.rb
+++ b/Library/Formula/open-mesh.rb
@@ -12,14 +12,13 @@ class OpenMesh < Formula
depends_on 'glew'
def install
- mkdir 'openmesh-build'
- cd 'openmesh-build' do
+ mkdir 'openmesh-build' do
system "cmake -DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=Release .."
system "make install"
end
end
def test
- system("#{bin}/mconvert", '-help')
+ system "#{bin}/mconvert", '-help'
end
end