Merge pull request #4 from jprotze/master

fix bug introduced by name change of arch package to 'architecture'
This commit is contained in:
Todd Gamblin 2014-02-07 08:01:15 -08:00
commit cd70747658

View file

@ -28,8 +28,8 @@
description = "Print the architecture for this machine"
def arch(parser, args):
configured_sys_type = arch.get_sys_type_from_spack_globals()
configured_sys_type = architecture.get_sys_type_from_spack_globals()
if not configured_sys_type:
configured_sys_type = "autodetect"
print "Configured sys_type: %s" % configured_sys_type
print "Autodetected default sys_type: %s" % arch.sys_type()
print "Autodetected default sys_type: %s" % architecture.sys_type()