From 5efb158860d0a919587c52e65e651153cda9a887 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sat, 8 Oct 2016 10:05:04 -0700 Subject: [PATCH] cleanup: remove GLIDE_HOME cache directories This is needed since some formulae now set ENV["GLIDE_HOME"] = HOMEBREW_CACHE/"glide_home/#{name}" --- Library/Homebrew/cleanup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb index bb91fa69e9..f7db1c11f7 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