aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/linux
diff options
context:
space:
mode:
authorShaun Jackman2013-06-29 10:51:11 -0700
committerJack Nagel2013-06-29 13:15:59 -0500
commit561567ade01aa6044e5ccce465b6a16a1201b109 (patch)
treea08c5d9440ef1659801f271dd48cafe61eb30cf3 /Library/Homebrew/os/linux
parent584d338da16950d59c6ee101775029446107f9b2 (diff)
downloadhomebrew-561567ade01aa6044e5ccce465b6a16a1201b109.tar.bz2
os/linux/hardware: `uname -m` may be /i[3-6]86/
Closes homebrew/linuxbrew#16 Closes #20903. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/os/linux')
-rw-r--r--Library/Homebrew/os/linux/hardware.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/os/linux/hardware.rb b/Library/Homebrew/os/linux/hardware.rb
index b323cbab5..8c7f0d401 100644
--- a/Library/Homebrew/os/linux/hardware.rb
+++ b/Library/Homebrew/os/linux/hardware.rb
@@ -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