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:
Shaun Jackman 2013-06-29 10:51:11 -07:00 committed by Jack Nagel
parent 3654822f77
commit f7b8fb1da0

View File

@ -4,9 +4,7 @@ module LinuxCPUs
def type
@cpu_type ||= case `uname -m`
when /x86_64/
:intel
when /i386/
when /i[3-6]86/, /x86_64/
:intel
else
:dunno