hub: make sure build scripts have access to Git data
The version script depends on having Git data to determine a version. Closes Homebrew/homebrew#35258. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
226cf15d9a
commit
2cc89757c9
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ class Hub < Formula
|
|||
|
||||
def install
|
||||
if build.head?
|
||||
ENV["GIT_DIR"] = cached_download/".git"
|
||||
system "script/build"
|
||||
bin.install "hub"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue