We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9cdb1a commit d4ceaccCopy full SHA for d4ceacc
1 file changed
EESSI-install-software.sh
@@ -288,7 +288,7 @@ fi
288
# (this must be set _before_ we load EESSI-extend).
289
# We also make sure that EESSI_ACCELERATOR_TARGET is also set as EESSI_ACCELERATOR_TARGET_OVERRIDE must
290
# be set before the EESSI module is loaded in order to set accelerator information.
291
-if [[ -n "$EESSI_ACCELERATOR_TARGET_OVERRIDE" && -n "$EESSI_ACCELERATOR_TARGET" ]]; then
+if [[ -n "$EESSI_ACCELERATOR_TARGET_OVERRIDE" && -z "$EESSI_ACCELERATOR_TARGET" ]]; then
292
fatal_error "EESSI module should've set EESSI_ACCELERATOR_TARGET ($EESSI_ACCELERATOR_TARGET) when EESSI_ACCELERATOR_TARGET_OVERRIDE ($EESSI_ACCELERATOR_TARGET_OVERRIDE) exported."
293
elif [[ -n "$EESSI_ACCELERATOR_TARGET_OVERRIDE" ]]; then
294
export EESSI_ACCELERATOR_INSTALL=1
0 commit comments