libcouchbase: set GIT_DIR instead of symlinking

This commit is contained in:
Jack Nagel 2014-12-16 20:47:40 -05:00
parent 4d581035b6
commit daaa4ed749

View file

@ -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'