Remove all testing temporaries when done

This commit is contained in:
Max Howell 2009-08-04 01:31:32 +01:00
parent a1d5450f0c
commit e9dbdadcac

View File

@ -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