summaryrefslogtreecommitdiff
path: root/lib/spack/docs/features.rst
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/docs/features.rst')
-rw-r--r--lib/spack/docs/features.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/docs/features.rst b/lib/spack/docs/features.rst
index 63f2080c8a..c4de4ef416 100644
--- a/lib/spack/docs/features.rst
+++ b/lib/spack/docs/features.rst
@@ -130,7 +130,7 @@ creates a simple python file:
It doesn't take much python coding to get from there to a working
package:
-.. literalinclude:: ../../../var/spack/repos/builtin/packages/libelf/package.py
+.. literalinclude:: _spack_root/var/spack/repos/builtin/packages/libelf/package.py
:lines: 6-
Spack also provides wrapper functions around common commands like