diff options
| author | Shaun Jackman | 2013-06-29 10:51:11 -0700 |
|---|---|---|
| committer | Jack Nagel | 2013-06-29 13:15:59 -0500 |
| commit | f7b8fb1da04f39db839b4a927be01e0c3770dfb6 (patch) | |
| tree | 32a248f45e62cf2dede01f73eb1a039e9110df8d /Library | |
| parent | 3654822f77d05f692f4beffe6a77d7452ec5100b (diff) | |
| download | brew-f7b8fb1da04f39db839b4a927be01e0c3770dfb6.tar.bz2 | |
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>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/linux/hardware.rb | 4 |
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 |
