Method: MCBuild.detect_machine

Defined in:
lib/mcbuild.rb

.detect_machineObject



52
53
54
55
56
57
58
59
60
61
# File 'lib/mcbuild.rb', line 52

def self.detect_machine
	ret = MCConfig.x86_64
	mach = %x[uname -m].strip
	MCConfig.support_machines.each { |supportm|
		if mach.include? supportm
			ret = supportm
		end
	}
	ret
end