From b771b4015a7253e4831436f346c1fff0bc25b6c3 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 13 Nov 2018 09:31:09 -0600 Subject: Fix bugs in Modules Tutorial (#9821) Found a couple bugs while trying to copy and paste the exact tutorial content. --- lib/spack/docs/tutorial_modules.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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: -- cgit v1.2.3-60-g2f50