diff options
| author | Jack Nagel | 2015-02-13 22:16:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-02-13 22:16:57 -0500 |
| commit | 28558f231f0b514d39fd5b371b4e692e692007b8 (patch) | |
| tree | ab52db312ee3348f84c507ed2f982b4211772b19 /Library/Homebrew/download_strategy.rb | |
| parent | 75d0a0e33d837b2a56c2412478f93582688d137a (diff) | |
| download | homebrew-28558f231f0b514d39fd5b371b4e692e692007b8.tar.bz2 | |
Support older git without "submodule sync --recursive"
Fixes #36774.
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index afd8840c5..70338d37e 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -646,7 +646,7 @@ class GitDownloadStrategy < VCSDownloadStrategy end def update_submodules - quiet_safe_system "git", "submodule", "sync", "--recursive" + quiet_safe_system "git", "submodule", "foreach", "--recursive", "git submodule sync" quiet_safe_system "git", "submodule", "update", "--init", "--recursive" end |
