diff options
| author | Markus Reiter | 2017-05-29 01:21:36 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-29 01:31:38 +0200 |
| commit | 54c4580871f1e029f2d18343bb65b27450d807cd (patch) | |
| tree | 08c41e0f058526bdd8331229a9d147d4b97494b2 /Library/Homebrew/cask/lib/hbc/cli | |
| parent | 803f9cbf7ba27ec700ffdfffb976d9b60a5f9deb (diff) | |
| download | brew-54c4580871f1e029f2d18343bb65b27450d807cd.tar.bz2 | |
Use `XDG_CACHE_HOME` for RuboCop.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/style.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/style.rb b/Library/Homebrew/cask/lib/hbc/cli/style.rb index 078796e7e..03159a0cf 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/style.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/style.rb @@ -11,7 +11,7 @@ module Hbc def run install_rubocop - system "rubocop", *rubocop_args, "--", *cask_paths + system({ "XDG_CACHE_HOME" => HOMEBREW_CACHE }, "rubocop", *rubocop_args, "--", *cask_paths) raise CaskError, "style check failed" unless $CHILD_STATUS.success? true end |
