We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a7348 commit 2da1abaCopy full SHA for 2da1aba
outputs/init_spack.sh
@@ -1,13 +1,10 @@
1
-#!/bin/sh
+#!/bin/bash
2
3
if [ ! -d ~/spack ]; then
4
- git clone --quiet --branch="$tutorial_branch" --depth=100 https://github.com/spack/spack ~/spack
5
- git clone --quiet https://github.com/spack/spack-packages ~/spack-packages
6
- (cd ~/spack-packages || exit; git checkout -d "$packages_release")
+ git clone --quiet "--branch=$tutorial_branch" --depth=100 https://github.com/spack/spack ~/spack
7
fi
8
9
cd ~/spack || exit
10
. share/spack/setup-env.sh
11
-spack repo set --destination ~/spack-packages --scope defaults builtin
12
# spack tutorial -y
13
spack bootstrap now
0 commit comments