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

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

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