aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilovezfs2016-10-08 10:05:04 -0700
committerilovezfs2016-10-08 10:05:04 -0700
commit5efb158860d0a919587c52e65e651153cda9a887 (patch)
tree50600f52c58a358e03a47f68a90abbc86760227d
parent1b677ab0ff153137404c06894f5e624a3fa210ee (diff)
downloadbrew-5efb158860d0a919587c52e65e651153cda9a887.tar.bz2
cleanup: remove GLIDE_HOME cache directories
This is needed since some formulae now set ENV["GLIDE_HOME"] = HOMEBREW_CACHE/"glide_home/#{name}"
-rw-r--r--Library/Homebrew/cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb
index bb91fa69e..f7db1c11f 100644
--- a/Library/Homebrew/cleanup.rb
+++ b/Library/Homebrew/cleanup.rb
@@ -50,7 +50,7 @@ module Homebrew
cleanup_path(path) { path.unlink }
next
end
- if %w[java_cache npm_cache].include?(path.basename.to_s) && path.directory?
+ if %w[glide_home java_cache npm_cache].include?(path.basename.to_s) && path.directory?
cleanup_path(path) { FileUtils.rm_rf path }
next
end