Fixed typo bug. Made error comment more explicit

This commit is contained in:
Elizabeth F 2016-03-13 19:38:05 -04:00 committed by citibeth
parent a6389eb7de
commit 3383486adc

View file

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