We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3e5d7 commit ba3c177Copy full SHA for ba3c177
1 file changed
.github/workflows/dependencies/install_spack
@@ -6,12 +6,13 @@ set -eu -o pipefail
6
spack_ver="0.16.0"
7
8
cd /opt
9
-if [ -d spack ]; then exit 0; fi
10
-
11
-# download
12
-curl -sOL https://github.com/spack/spack/archive/v${spack_ver}.tar.gz
13
-tar -xf v${spack_ver}.tar.gz && rm v${spack_ver}.tar.gz
14
-mv spack-${spack_ver} spack
+if [ ! -d spack ]
+then
+ # download
+ curl -sOL https://github.com/spack/spack/archive/v${spack_ver}.tar.gz
+ tar -xf v${spack_ver}.tar.gz && rm v${spack_ver}.tar.gz
+ mv spack-${spack_ver} spack
15
+fi
16
17
# install
18
ln -s /opt/spack/bin/spack /usr/bin/spack
0 commit comments