aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-08-04 01:31:32 +0100
committerMax Howell2009-08-04 01:31:32 +0100
commite9dbdadcacba4dda800dedf7511a510a149a4742 (patch)
tree0c124d69f9819f935dc3794a7ec3efdb205ba06b /Library
parenta1d5450f0cfae6c472899589e7136fc0754e2471 (diff)
downloadbrew-e9dbdadcacba4dda800dedf7511a510a149a4742.tar.bz2
Remove all testing temporaries when done
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/unittest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/unittest.rb b/Library/Homebrew/unittest.rb
index 6ad8b945c..906912af8 100755
--- a/Library/Homebrew/unittest.rb
+++ b/Library/Homebrew/unittest.rb
@@ -15,7 +15,7 @@ HOMEBREW_CELLAR=HOMEBREW_PREFIX.parent+"cellar"
HOMEBREW_CELLAR.mkpath
raise "HOMEBREW_CELLAR couldn't be created!" unless HOMEBREW_CELLAR.directory?
-at_exit { HOMEBREW_CACHE.rmtree }
+at_exit { HOMEBREW_PREFIX.parent.rmtree }
require 'test/unit' # must be after at_exit