aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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'