aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/download_strategy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 850e72ac7..8b8fcd7c5 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -383,6 +383,7 @@ class GitDownloadStrategy < AbstractDownloadStrategy
safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', sub_cmd
end
end
+ ENV['GIT_DIR'] = cached_location+'.git'
end
end