Merge pull request #546 from citibeth/efischer/160313-DIYTypoBug
Small bug in DIY found and fixed.
This commit is contained in:
commit
23ba0c3396
1 changed files with 2 additions and 2 deletions
|
@ -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 diy spec must have a single, concrete version. Did you forget a package version number?")
|
||||
|
||||
spec.concretize()
|
||||
package = spack.repo.get(spec)
|
||||
|
|
Loading…
Reference in a new issue