Skip to content
Snippets Groups Projects
Commit 1163c9e0 authored by Fabian.Jakub's avatar Fabian.Jakub
Browse files

change order when to add upstreams bc config folder may not be there yet

parent b123ed17
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ function _install_spack() {
git clone --depth 1 ${SPACK_URL} -b ${SPACK_BRANCH} ${SPACK_ROOT}
fi
_init_spack "$SPACK_INIT_CMD" "$SPACK_ROOT"
if [ ! -z "${SPACK_UPSTREAMS}" ]; then
UPSTREAMS_CONFIG=${SPACK_ROOT}/etc/spack/upstreams.yaml
......@@ -24,8 +25,6 @@ EOF
done
fi
_init_spack "$SPACK_INIT_CMD" "$SPACK_ROOT"
if [ ! -z "${SPACK_EXTERNALS}" ] ; then
for ext in ${SPACK_EXTERNALS}; do
spack external find $ext
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment