aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/os.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/os.rb b/Library/Homebrew/os.rb
index 4500fbd1e..d7b4d8807 100644
--- a/Library/Homebrew/os.rb
+++ b/Library/Homebrew/os.rb
@@ -5,6 +5,7 @@ module OS
end
def self.linux?
+ return false if ENV["HOMEBREW_TEST_GENERIC_OS"]
RUBY_PLATFORM.to_s.downcase.include? "linux"
end