diff options
| author | Mike McQuaid | 2016-07-27 22:10:34 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2016-07-29 21:21:02 -0600 |
| commit | 0fd0ecd599b443d39bd07ef66a8e072cceeab6f3 (patch) | |
| tree | c635a87b6a5e6e3c80e1c941e7e910b642e27afe /Library | |
| parent | 1aded31fec4a98c2521bca685166f82a8d7d66c6 (diff) | |
| download | brew-0fd0ecd599b443d39bd07ef66a8e072cceeab6f3.tar.bz2 | |
os: don't assume Linux if testing generic OS.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os.rb | 1 |
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 |
