From 1952a92820dd644049afe32c8b3e8af8193256ba Mon Sep 17 00:00:00 2001 From: "Michael F. Herbst" Date: Tue, 17 Oct 2017 10:36:03 +0200 Subject: 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. --- lib/spack/docs/workflows.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spack/docs/workflows.rst b/lib/spack/docs/workflows.rst index b29feccea4..53aae6795f 100644 --- a/lib/spack/docs/workflows.rst +++ b/lib/spack/docs/workflows.rst @@ -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: -- cgit v1.2.3-60-g2f50