From 49293c08080ac07d866496e73226ba174e6ad486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3=20Prims?= <oriol.tinto@lmu.de> Date: Mon, 27 Mar 2023 10:07:12 +0200 Subject: [PATCH] Fix spack load in case there are multiple definitions of bzip2 --- templates/common/build_icon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/common/build_icon.sh b/templates/common/build_icon.sh index 78d386a..6d9bd83 100644 --- a/templates/common/build_icon.sh +++ b/templates/common/build_icon.sh @@ -44,7 +44,7 @@ if [ ! -f "${definitions_tar_file}" ]; then if [ ! $(rpm -qa | grep bzip2) ]; then spack install bzip2 - spack load bzip2 + spack load --first bzip2 fi # Decompress definitions file -- GitLab