diff options
| author | Jack Nagel | 2014-12-06 16:48:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-06 16:48:20 -0500 |
| commit | 7e844cad1c23e0785fca22345e187c3a7c21b270 (patch) | |
| tree | 71a8804a063e56e3bda97dcc5753c79a4066fe2e /Library | |
| parent | dd2446ab081041a036256fb9e12e5f21d5d15d58 (diff) | |
| download | brew-7e844cad1c23e0785fca22345e187c3a7c21b270.tar.bz2 | |
Simplify fossil checkouts
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index de092a9a5..5a661b3d6 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -729,8 +729,9 @@ end class FossilDownloadStrategy < VCSDownloadStrategy def stage super - safe_system fossilpath, "open", @clone - safe_system fossilpath, "checkout", @ref if @ref_type && @ref + args = [fossilpath, "open", @clone] + args << @ref if @ref_type && @ref + safe_system(*args) end private |
