diff options
Diffstat (limited to 'Library/Formula/libgit2.rb')
| -rw-r--r-- | Library/Formula/libgit2.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/libgit2.rb b/Library/Formula/libgit2.rb index a2ea7520c..75d88bb1b 100644 --- a/Library/Formula/libgit2.rb +++ b/Library/Formula/libgit2.rb @@ -1,9 +1,9 @@ require 'formula' class Libgit2 < Formula + homepage 'http://libgit2.github.com/' url 'https://github.com/libgit2/libgit2/tarball/v0.16.0' md5 'd75d4c2b0773abf2676f06dabdf5f31f' - homepage 'http://libgit2.github.com/' head 'https://github.com/libgit2/libgit2.git', :branch => 'master' @@ -11,8 +11,8 @@ class Libgit2 < Formula def install mkdir 'build' - Dir.chdir 'build' do - system "cmake .. #{std_cmake_parameters} -DBUILD_TESTS=NO" + cd 'build' do + system "cmake #{std_cmake_parameters} -DBUILD_TESTS=NO .." system "make install" end end |
