os/linux/hardware: uname -m may be /i[3-6]86/
Closes homebrew/linuxbrew#16 Closes Homebrew/homebrew#20903. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
3654822f77
commit
f7b8fb1da0
@ -4,9 +4,7 @@ module LinuxCPUs
|
|||||||
|
|
||||||
def type
|
def type
|
||||||
@cpu_type ||= case `uname -m`
|
@cpu_type ||= case `uname -m`
|
||||||
when /x86_64/
|
when /i[3-6]86/, /x86_64/
|
||||||
:intel
|
|
||||||
when /i386/
|
|
||||||
:intel
|
:intel
|
||||||
else
|
else
|
||||||
:dunno
|
:dunno
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user