aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharles Karney2014-08-16 18:25:04 -0400
committerMike McQuaid2014-08-22 16:38:16 +0100
commit805734562f0830564158e9a561aa0acb624e70ec (patch)
tree8a5169f4ee8fc8164b50a09d324027dc28f5c02a /Library
parenteedc2ba90847aee772aee872b372f22d1dd93f88 (diff)
downloadhomebrew-805734562f0830564158e9a561aa0acb624e70ec.tar.bz2
Fix install clause
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/geographiclib.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/geographiclib.rb b/Library/Formula/geographiclib.rb
index 4ab137621..b9a0e5193 100644
--- a/Library/Formula/geographiclib.rb
+++ b/Library/Formula/geographiclib.rb
@@ -7,12 +7,10 @@ class Geographiclib < Formula
depends_on "cmake" => :build
def install
- # GeographicLib makes a Release build if CMAKE_BUILD_TYPE isn't set.
- args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
- mkdir 'build'
- chdir 'build' do
- system 'cmake', *args, '..'
- system 'make install'
+ mkdir "build"
+ chdir "build" do
+ system "cmake", "..", *std_cmake_args
+ system "make", "install"
end
end