diff options
| author | Adam Vandenberg | 2011-10-11 10:13:16 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-10-11 10:13:19 -0700 |
| commit | c4901c409a3f89186a6c452d5b53ef4e1a510a01 (patch) | |
| tree | e7b806b63ba4951ad62de5b3efc17dddaa9b1a31 /Library | |
| parent | 16f6c059065200dba403d5d899f544d34829b944 (diff) | |
| download | homebrew-c4901c409a3f89186a6c452d5b53ef4e1a510a01.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 |
