summaryrefslogtreecommitdiff
path: root/lib/spack/docs/packaging_guide.rst
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-08-11 02:55:44 -0500
committerGitHub <noreply@github.com>2020-08-11 09:55:44 +0200
commitf0c0cd5c3f5ab649637d9418bf047f646fd8a791 (patch)
tree1d63c26cf9e9c71136b8bd2bf80f6a7aa6c3e220 /lib/spack/docs/packaging_guide.rst
parent30dc0baa3493076f3eddcdb731763eec42a46044 (diff)
downloadspack-f0c0cd5c3f5ab649637d9418bf047f646fd8a791.tar.gz
spack-f0c0cd5c3f5ab649637d9418bf047f646fd8a791.tar.bz2
spack-f0c0cd5c3f5ab649637d9418bf047f646fd8a791.tar.xz
spack-f0c0cd5c3f5ab649637d9418bf047f646fd8a791.zip
Fix typo in spack external debug msg (#17982)
Diffstat (limited to 'lib/spack/docs/packaging_guide.rst')
-rw-r--r--lib/spack/docs/packaging_guide.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index 52f690c4d6..b1c55de22c 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -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)