Use -s flag in uname call
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
c90e63b299
commit
b0668f4e31
@ -40,7 +40,7 @@ module OS
|
||||
# @api public
|
||||
sig { returns(String) }
|
||||
def self.uname
|
||||
@uname ||= Utils.safe_popen_read("uname").chomp
|
||||
@uname ||= Utils.safe_popen_read("uname", "-s").chomp
|
||||
end
|
||||
|
||||
::OS_VERSION = ENV["HOMEBREW_OS_VERSION"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user