aboutsummaryrefslogtreecommitdiff
path: root/neovim.rb
diff options
context:
space:
mode:
authorXu Cheng <xucheng@me.com>2014-10-09 21:01:16 +0800
committerJustin M. Keyes <justinkz@gmail.com>2014-10-15 14:45:38 -0400
commit7e57d326f465ec541a9d0c14a286bc603bd543d7 (patch)
tree7265ec45997f8e64b3b5aa99b6e220fb7299fbe4 /neovim.rb
parentf68e7aba2c6ac3fe90a5f550e4b16e385882d16a (diff)
downloadrneovim-7e57d326f465ec541a9d0c14a286bc603bd543d7.tar.gz
rneovim-7e57d326f465ec541a9d0c14a286bc603bd543d7.tar.bz2
rneovim-7e57d326f465ec541a9d0c14a286bc603bd543d7.zip
homebrew: look for .git/ outside of build workspace #1274
Diffstat (limited to 'neovim.rb')
-rw-r--r--neovim.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/neovim.rb b/neovim.rb
index ed826fd0c5..30c0eecb0f 100644
--- a/neovim.rb
+++ b/neovim.rb
@@ -10,6 +10,7 @@ class Neovim < Formula
depends_on "autoconf" => :build
def install
+ ENV["GIT_DIR"] = cached_download/".git" if build.head?
ENV.deparallelize
system "make", "CMAKE_EXTRA_FLAGS=\"-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}\"", "install"
end