summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-11-13 09:31:09 -0600
committerPeter Scheibel <scheibel1@llnl.gov>2018-11-13 09:31:09 -0600
commitb771b4015a7253e4831436f346c1fff0bc25b6c3 (patch)
treeec34cd8d8093649e3cb26a35b7434324238762bd /lib
parent16aa37bdfe76640e5e660b1b9dc1f25c7d9d85a5 (diff)
downloadspack-b771b4015a7253e4831436f346c1fff0bc25b6c3.tar.gz
spack-b771b4015a7253e4831436f346c1fff0bc25b6c3.tar.bz2
spack-b771b4015a7253e4831436f346c1fff0bc25b6c3.tar.xz
spack-b771b4015a7253e4831436f346c1fff0bc25b6c3.zip
Fix bugs in Modules Tutorial (#9821)
Found a couple bugs while trying to copy and paste the exact tutorial content.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/tutorial_modules.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/docs/tutorial_modules.rst b/lib/spack/docs/tutorial_modules.rst
index 31fb1cd749..5da1338e00 100644
--- a/lib/spack/docs/tutorial_modules.rst
+++ b/lib/spack/docs/tutorial_modules.rst
@@ -182,7 +182,7 @@ our module path.
.. code-block:: console
- $ . share/spack/setup_env.sh
+ $ . share/spack/setup-env.sh
.. FIXME: this needs bootstrap support for ``lmod``
@@ -1130,8 +1130,8 @@ and update ``MODULEPATH`` to point to the ``Core``:
.. code-block:: console
$ module purge
- $ module unuse /home/spack1/spack/share/spack/modules/linux-ubuntu16.04-x86_64
- $ module use /home/spack1/spack/share/spack/lmod/linux-ubuntu16.04-x86_64/Core
+ $ module unuse $HOME/spack/share/spack/modules/linux-ubuntu16.04-x86_64
+ $ module use $HOME/spack/share/spack/lmod/linux-ubuntu16.04-x86_64/Core
asking for the available modules will return: