aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/lib/config.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/lib/config.rb b/Library/Homebrew/test/lib/config.rb
index 742d8e0a0..713bc9c3a 100644
--- a/Library/Homebrew/test/lib/config.rb
+++ b/Library/Homebrew/test/lib/config.rb
@@ -1,3 +1,7 @@
+unless ENV["HOMEBREW_BREW_FILE"]
+ raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!"
+end
+
require "tmpdir"
require "pathname"