spack/share/spack/docs/docker/module-file-tutorial/spack.sh
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

13 lines
399 B
Bash

# Copyright 2013-2023 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)
source $SPACK_ROOT/share/spack/setup-env.sh
LMOD_DIR=$(spack location -i lmod)
if [[ $LMOD_DIR ]] ; then
source ${LMOD_DIR}/lmod/lmod/init/bash
source $SPACK_ROOT/share/spack/setup-env.sh
fi