Skip to content

Commit 2d77d74

Browse files
hmeilandboegel
andauthored
Update init/eessi_environment_variables
Co-authored-by: Kenneth Hoste <[email protected]>
1 parent 806e1fb commit 2d77d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init/eessi_environment_variables

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ -d $EESSI_PREFIX ]; then
2525
if [ -d $EESSI_EPREFIX ]; then
2626

2727
# determine subdirectory in software layer
28-
if [ -z $EESSI_USE_ARCHDETECT ]; then
28+
if [ "$EESSI_USE_ARCHDETECT" == "1" ]; then
2929
# if archdetect is enabled, use internal code
3030
export EESSI_SOFTWARE_SUBDIR=$(${EESSI_INIT_DIR_PATH}/eessi_archdetect.sh cpupath)
3131
echo "archdetect says ${EESSI_SOFTWARE_SUBDIR}" >> $output

0 commit comments

Comments
 (0)