Darwinia > General Discussions > Topic Details
Irick Nov 14, 2013 @ 11:42am
RE: The shell script (how to get 64 bit checks to work cross platform)
So in the shell script there is this little check for 64 bit using arch(1), which is an OS X specific program that prints out the archtecture. For all of you on Linux out there, there are two solutions: you could alias arch to uname -m or you can replace "if [ `arch` == "x86_64" ]" with "if [ `uname -m` == "x86_64" ]"

Also someone should probably poke introversion about changing that by default, as uname -m works on OS X as well.