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

dont put upstreams yaml in SPACK_USER_CONFIG_PATH

parent 1163c9e0
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,6 @@ function _install_spack() { ...@@ -8,9 +8,6 @@ function _install_spack() {
if [ ! -z "${SPACK_UPSTREAMS}" ]; then if [ ! -z "${SPACK_UPSTREAMS}" ]; then
UPSTREAMS_CONFIG=${SPACK_ROOT}/etc/spack/upstreams.yaml UPSTREAMS_CONFIG=${SPACK_ROOT}/etc/spack/upstreams.yaml
if [ ! -z $SPACK_USER_CONFIG_PATH ]; then
UPSTREAMS_CONFIG=${SPACK_USER_CONFIG_PATH}/upstreams.yaml
fi
echo "upstreams:" > $UPSTREAMS_CONFIG echo "upstreams:" > $UPSTREAMS_CONFIG
let i=0 let i=0
for UP in ${SPACK_UPSTREAMS}; do for UP in ${SPACK_UPSTREAMS}; do
......
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