Fix typo in spack external debug msg (#17982)

This commit is contained in:
Adam J. Stewart 2020-08-11 02:55:44 -05:00 committed by GitHub
parent 30dc0baa34
commit f0c0cd5c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -4308,8 +4308,8 @@ follows:
return
# This implementation is lazy and only checks the first candidate
exe_path = candidates[0]
exe = spack.util.executable.Executable(exe_path)
output = exe('--version')
exe = Executable(exe_path)
output = exe('--version', output=str, error=str)
version_str = ... # parse output for version string
return Spec.from_detection(
'foo-package@{0}'.format(version_str)