aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/hub.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/hub.rb b/Library/Formula/hub.rb
index 76e4e6e7c..9b9de5d03 100644
--- a/Library/Formula/hub.rb
+++ b/Library/Formula/hub.rb
@@ -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