Merge pull request #4 from jprotze/master
fix bug introduced by name change of arch package to 'architecture'
This commit is contained in:
commit
cd70747658
@ -28,8 +28,8 @@
|
|||||||
description = "Print the architecture for this machine"
|
description = "Print the architecture for this machine"
|
||||||
|
|
||||||
def arch(parser, args):
|
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:
|
if not configured_sys_type:
|
||||||
configured_sys_type = "autodetect"
|
configured_sys_type = "autodetect"
|
||||||
print "Configured sys_type: %s" % configured_sys_type
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user