aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libcouchbase.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-16 20:47:40 -0500
committerJack Nagel2014-12-16 20:47:40 -0500
commitd9ab8ee8e1570f4bbea0b113b283f9f1d659248f (patch)
tree548338775dfb2025cf2a7fc45c626f2a081c6041 /Library/Formula/libcouchbase.rb
parent67b487f2cc403b1a984419a2ff904428b4dad0ba (diff)
downloadhomebrew-d9ab8ee8e1570f4bbea0b113b283f9f1d659248f.tar.bz2
libcouchbase: set GIT_DIR instead of symlinking
Diffstat (limited to 'Library/Formula/libcouchbase.rb')
-rw-r--r--Library/Formula/libcouchbase.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/libcouchbase.rb b/Library/Formula/libcouchbase.rb
index 749f2d374..dd999fb03 100644
--- a/Library/Formula/libcouchbase.rb
+++ b/Library/Formula/libcouchbase.rb
@@ -40,7 +40,7 @@ class Libcouchbase < Formula
args << '-DLCB_NO_PLUGINS=1'
end
- ln_s cached_download/".git", ".git" if build.head?
+ ENV["GIT_DIR"] = cached_download/".git" if build.head?
mkdir 'LCB-BUILD' do
system "cmake", "..", *args
system 'make install'