os: don't assume Linux if testing generic OS.
This commit is contained in:
parent
1aded31fec
commit
0fd0ecd599
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user