summaryrefslogblamecommitdiff
path: root/bin/rebuild-index.sh
blob: 009010baf112c72c8b7c32ffd934b9858757fc8d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                         
                                              
#!/bin/bash

# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

set -x

SPACK_BIN_DIR="${CI_PROJECT_DIR}/bin"
export PATH="${SPACK_BIN_DIR}:${PATH}"

spack buildcache update-index -d "$MIRROR_URL"