aboutsummaryrefslogtreecommitdiff
path: root/osx-resources/InstallationCheck
blob: 2bd691f5c36936e81e0b161aa0add5fe8b82644f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
cputype=`/usr/sbin/sysctl -n hw.cputype`
sixtyfourbit=`/usr/sbin/sysctl -n hw.cpu64bit_capable`

if [ "x$cputype" != "x7" ] # x86
then
  exit 112
fi

if [ "x$sixtyfourbit" != "x1" ] # 64 bit
then
  exit 113
fi