Minor typos and corections (#5789)

- The shell script uses arrays and hence only works on sophisticated shells and not the default `sh`. For clarity the shebang `#!/bin/bash` has been used instead.
This commit is contained in:
Michael F. Herbst 2017-10-17 10:36:03 +02:00 committed by Todd Gamblin
parent f0da8251b3
commit 1952a92820

View File

@ -170,7 +170,7 @@ of usage:
.. code-block:: sh
#!/bin/sh
#!/bin/bash
compilers=(
%gcc
@ -355,7 +355,7 @@ Transitive Dependencies
In the script above, each ``spack module loads`` command generates a
*single* ``module load`` line. Transitive dependencies do not usually
need to be loaded, only modules the user needs in in ``$PATH``. This is
need to be loaded, only modules the user needs in ``$PATH``. This is
because Spack builds binaries with RPATH. Spack's RPATH policy has
some nice features: