From d9ab8ee8e1570f4bbea0b113b283f9f1d659248f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 16 Dec 2014 20:47:40 -0500 Subject: libcouchbase: set GIT_DIR instead of symlinking --- Library/Formula/libcouchbase.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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' -- cgit v1.2.3