File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 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 " && -n " $EESSI_ACCELERATOR_TARGET " ]]; then
291+ if [[ -n " $EESSI_ACCELERATOR_TARGET_OVERRIDE " && -z " $EESSI_ACCELERATOR_TARGET " ]]; then
292292 fatal_error " EESSI module should've set EESSI_ACCELERATOR_TARGET ($EESSI_ACCELERATOR_TARGET ) when EESSI_ACCELERATOR_TARGET_OVERRIDE ($EESSI_ACCELERATOR_TARGET_OVERRIDE ) exported."
293293elif [[ -n " $EESSI_ACCELERATOR_TARGET_OVERRIDE " ]]; then
294294 export EESSI_ACCELERATOR_INSTALL=1
You can’t perform that action at this time.
0 commit comments