diff --git a/lib/spack/spack/cmd/arch.py b/lib/spack/spack/cmd/arch.py index aeb2ba3ff85..f0e88d1849b 100644 --- a/lib/spack/spack/cmd/arch.py +++ b/lib/spack/spack/cmd/arch.py @@ -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()