From 017d8690d381a08d015cda3139471ff1093b859b Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 11 Oct 2011 10:13:16 -0700 Subject: Ensure cache folder exists --- Library/Contributions/examples/brew-pull.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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 -- cgit v1.2.3