aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-08-22 16:39:36 +0100
committerMike McQuaid2014-08-22 16:39:36 +0100
commit2276957ee1d048479f913383bc0d35daddb4578f (patch)
tree5b5ba4820f2264f6369df68cbb278e2283a06c51 /Library/Formula
parent11267b91008c5d040cf19275ec0f75dec1bca4ad (diff)
downloadhomebrew-2276957ee1d048479f913383bc0d35daddb4578f.tar.bz2
geographiclib: use mkdir do.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/geographiclib.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/geographiclib.rb b/Library/Formula/geographiclib.rb
index 1d832f8da..1cebcdb72 100644
--- a/Library/Formula/geographiclib.rb
+++ b/Library/Formula/geographiclib.rb
@@ -13,8 +13,7 @@ class Geographiclib < Formula
depends_on "cmake" => :build
def install
- mkdir "build"
- chdir "build" do
+ mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end