Skip to content

Commit 996f065

Browse files
authored
Update EESSI-install-software.sh
1 parent 8a6ce0f commit 996f065

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EESSI-install-software.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ fi
288288
# (this must be set _before_ we load EESSI-extend).
289289
# We also make sure that EESSI_ACCELERATOR_TARGET is also set as EESSI_ACCELERATOR_TARGET_OVERRIDE must
290290
# be set before the EESSI module is loaded in order to set accelerator information.
291-
if [[ -n "$EESSI_ACCELERATOR_TARGET_OVERRIDE" && -z "$EESSI_ACCELERATOR_TARGET" ]]; then
291+
if [[ -n "$EESSI_ACCELERATOR_TARGET_OVERRIDE" && -n "$EESSI_ACCELERATOR_TARGET" ]]; then
292292
fatal_error "EESSI module should've set EESSI_ACCELERATOR_TARGET when EESSI_ACCELERATOR_TARGET_OVERRIDE exported." >&2
293293
elif [[ -n "$EESSI_ACCELERATOR_TARGET_OVERRIDE" ]]; then
294294
export EESSI_ACCELERATOR_INSTALL=1

0 commit comments

Comments
 (0)