diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/git-multipush.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git-multipush.rb b/Library/Formula/git-multipush.rb index 8ee3aa1c0..7ab88fd74 100644 --- a/Library/Formula/git-multipush.rb +++ b/Library/Formula/git-multipush.rb @@ -11,6 +11,7 @@ class GitMultipush < Formula def install if ARGV.build_head? + ENV['GIT_DIR'] = cached_location/'.git' inreplace 'make/gen-version.mk', '.git', '$(GIT_DIR)' system "make" end diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index cb15e7224..6b8aff900 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -393,7 +393,6 @@ class GitDownloadStrategy < AbstractDownloadStrategy safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', sub_cmd end end - ENV['GIT_DIR'] = cached_location+'.git' end end |
