diff options
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 65bceffa4..e4628511a 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -609,8 +609,8 @@ class GitDownloadStrategy < VCSDownloadStrategy end def checkout_submodules(dst) - sub_cmd = %W{git checkout-index -a -f --prefix=#{dst}/$path/} - safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', *sub_cmd + sub_cmd = "git checkout-index -a -f --prefix=#{dst}/$path/" + safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', sub_cmd end end |
