Merge pull request #546 from citibeth/efischer/160313-DIYTypoBug

Small bug in DIY found and fixed.
This commit is contained in:
Todd Gamblin 2016-03-15 11:33:11 -07:00
commit 23ba0c3396

View file

@ -75,8 +75,8 @@ def diy(self, args):
edit_package(spec.name, spack.repo.first_repo(), None, True) edit_package(spec.name, spack.repo.first_repo(), None, True)
return return
if not spec.version.concrete: if not spec.versions.concrete:
tty.die("spack diy spec must have a single, concrete version.") tty.die("spack diy spec must have a single, concrete version. Did you forget a package version number?")
spec.concretize() spec.concretize()
package = spack.repo.get(spec) package = spack.repo.get(spec)