Skip to content
Snippets Groups Projects
Unverified Commit f0c0cd5c authored by Adam J. Stewart's avatar Adam J. Stewart Committed by GitHub
Browse files

Fix typo in spack external debug msg (#17982)

parent 30dc0baa
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -260,7 +260,7 @@ def _get_external_packages(packages_to_check, system_path_to_exe=None):
if not specs:
tty.debug(
'The following executables in {0} were decidedly not'
'The following executables in {0} were decidedly not '
'part of the package {1}: {2}'
.format(prefix, pkg.name, ', '.join(exes_in_prefix))
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment