We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 806e1fb commit 2d77d74Copy full SHA for 2d77d74
init/eessi_environment_variables
@@ -25,7 +25,7 @@ if [ -d $EESSI_PREFIX ]; then
25
if [ -d $EESSI_EPREFIX ]; then
26
27
# determine subdirectory in software layer
28
- if [ -z $EESSI_USE_ARCHDETECT ]; then
+ if [ "$EESSI_USE_ARCHDETECT" == "1" ]; then
29
# if archdetect is enabled, use internal code
30
export EESSI_SOFTWARE_SUBDIR=$(${EESSI_INIT_DIR_PATH}/eessi_archdetect.sh cpupath)
31
echo "archdetect says ${EESSI_SOFTWARE_SUBDIR}" >> $output
0 commit comments