diff options
author | Richard Levitte <levitte@openssl.org> | 2000-11-16 18:59:02 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-11-16 18:59:02 +0000 |
commit | d5695a26a60ea8de12c28a148739e1b00bee0c78 (patch) | |
tree | c26380dbf5088c4b9db505dbfe997403b4ece93f /config | |
parent | 8bfc8f934f8bf80cc9df25192a1d01720755dd3c (diff) |
/proc/cpuinfo can have several lines containing the word "type". We want the one that is "type", plain and simple. Caught by Raoul Borenius <borenius@shuttle.de>
Diffstat (limited to 'config')
-rwxr-xr-x | config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -442,7 +442,7 @@ EOF #read waste < /dev/tty OUT="linux-sparcv9" ;; sparc-*-linux2) - KARCH=`awk '/type/{print$3}' /proc/cpuinfo` + KARCH=`awk '/^type/{print$3}' /proc/cpuinfo` case ${KARCH:-sun4} in sun4u*) OUT="linux-sparcv9" ;; sun4m) OUT="linux-sparcv8" ;; |