From c70bd97e24a232e1116598149ac3b35b5f712b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de> Date: Wed, 22 Mar 2023 17:21:46 +0100 Subject: [PATCH] Commenting unnecessary (?) arguments. --- platforms/common/spack_utils.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/common/spack_utils.sh b/platforms/common/spack_utils.sh index aec1794..17431cc 100644 --- a/platforms/common/spack_utils.sh +++ b/platforms/common/spack_utils.sh @@ -4,7 +4,7 @@ if [ ! -e ${SPACK_ROOT} ]; then git clone ${SPACK_URL} -b ${SPACK_BRANCH} ${SPACK_ROOT} fi -_init_spack +_init_spack ${} if [[ $(spack compiler info ${SPACK_COMPILER}) ]]; then echo "Found Compiler $(spack compiler info ${SPACK_COMPILER})" @@ -16,8 +16,8 @@ fi } function _init_spack() { -SPACK_INIT_CMD=$1 -SPACK_ROOT=$2 +#SPACK_INIT_CMD=$1 +#SPACK_ROOT=$2 if [ -z "$SPACK_INIT_CMD" ] && [ ! -z "${SPACK_ROOT}" ]; then echo "Empty SPACK_INIT_CMD -> trying to source config file of spack root: $SPACK_ROOT/share/spack/setup-env.sh" . $SPACK_ROOT/share/spack/setup-env.sh -- GitLab