aboutsummaryrefslogtreecommitdiff
path: root/neovim.rb
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-10-15 23:27:16 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-10-15 23:27:16 -0400
commit97d2fbde7366073035ff11f93c6bc7c1879e5713 (patch)
tree15b7b03c5798b3889c923c29c2fe85bed8ec4c60 /neovim.rb
parentf68e7aba2c6ac3fe90a5f550e4b16e385882d16a (diff)
parent92b17e174f19a0a851a595d63663cda4cb8ac336 (diff)
downloadrneovim-97d2fbde7366073035ff11f93c6bc7c1879e5713.tar.gz
rneovim-97d2fbde7366073035ff11f93c6bc7c1879e5713.tar.bz2
rneovim-97d2fbde7366073035ff11f93c6bc7c1879e5713.zip
Merge pull request #1293 from justinmk/homebrew
handle missing git or .git/
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