diff options
| author | Adam Vandenberg | 2011-10-11 10:13:16 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-10-11 10:13:19 -0700 |
| commit | 017d8690d381a08d015cda3139471ff1093b859b (patch) | |
| tree | 59436a92b33547464b267578f152626fde9da6a0 /Library | |
| parent | d73df34bc6ee5cbd989d11c6a927e2ca083b951c (diff) | |
| download | brew-017d8690d381a08d015cda3139471ff1093b859b.tar.bz2 | |
Ensure cache folder exists
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-pull.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Contributions/examples/brew-pull.rb b/Library/Contributions/examples/brew-pull.rb index 61467ef66..de54fd529 100755 --- a/Library/Contributions/examples/brew-pull.rb +++ b/Library/Contributions/examples/brew-pull.rb @@ -29,6 +29,7 @@ HOMEBREW_REPOSITORY.cd do end # The cache directory seems like a good place to put patches. + HOMEBREW_CACHE.mkpath patchpath = (HOMEBREW_CACHE+File.basename(url)) curl url, '-o', patchpath |
