From bf498991d35a2286fb385f0fcb4f6566ad62b2bd Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Tue, 24 Jun 2014 16:58:02 -0700 Subject: [PATCH] Bugfix for mirror command --- lib/spack/spack/cmd/mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/mirror.py b/lib/spack/spack/cmd/mirror.py index 813c58b84d..129ac6bd45 100644 --- a/lib/spack/spack/cmd/mirror.py +++ b/lib/spack/spack/cmd/mirror.py @@ -124,7 +124,7 @@ def mirror_create(args): ">>> " + string, str(e)) if not args.specs: - args.specs = spack.db.all_package_names() + args.specs = [Spec(n) for n in spack.db.all_package_names()] # Default name for directory is spack-mirror- if not args.directory: