aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-08 07:17:17 +0100
committerMarkus Reiter2017-02-08 07:17:17 +0100
commit1281a3f94bd5286a446ac8f7288d44a9025ca60e (patch)
tree05ac134081d8e8abc66ef0b2764cb3c29a37d780 /Library/Homebrew
parentbef2c6c9bd71e9b825ce34450fff79c7bb05a28f (diff)
downloadbrew-1281a3f94bd5286a446ac8f7288d44a9025ca60e.tar.bz2
Remove `kernel_at_exit_hacks.rb`.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cask/spec/support/kernel_at_exit_hacks.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/cask/spec/support/kernel_at_exit_hacks.rb b/Library/Homebrew/cask/spec/support/kernel_at_exit_hacks.rb
deleted file mode 100644
index b5c84869b..000000000
--- a/Library/Homebrew/cask/spec/support/kernel_at_exit_hacks.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-module Kernel
- alias real_at_exit at_exit
-
- def at_exit(&block)
- real_at_exit(&block) unless ENV["DISABLE_AT_EXIT"]
- end
-
- def with_disabled_at_exit
- ENV["DISABLE_AT_EXIT"] = "1"
- yield
- ENV.delete("DISABLE_AT_EXIT")
- end
-end