diff options
| author | Adam Vandenberg | 2010-04-08 13:25:55 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-04-08 21:01:09 -0700 |
| commit | 72ef9f4aaa8c86aa422cb735eeba7f809e53a84c (patch) | |
| tree | 649954ed3339f4f1d95f6e0328da4b625d62a47c /Library/Homebrew | |
| parent | fa06ea6e17d09a10148a076fe59495223f932329 (diff) | |
| download | brew-72ef9f4aaa8c86aa422cb735eeba7f809e53a84c.tar.bz2 | |
Quote prefix for git submodules. Fixes Homebrew/homebrew#1009
Diffstat (limited to 'Library/Homebrew')
| -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 5f1a1a2d3..ac323d55b 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -176,7 +176,7 @@ class GitDownloadStrategy <AbstractDownloadStrategy if File.exist?('.gitmodules') safe_system 'git', 'submodule', 'init' safe_system 'git', 'submodule', 'update' - sub_cmd = "git checkout-index -a -f --prefix=#{dst}/$path/" + sub_cmd = "git checkout-index -a -f \"--prefix=#{dst}/$path/\"" safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', sub_cmd end end |
