Skip to content

Commit

Permalink
Merge pull request EESSI#346 from TopRichard/nessi-2023.06-EESSI_SOFT…
Browse files Browse the repository at this point in the history
…WARE_SUBDIR_OVERRIDE

make sure that software directory that corresponds to $EESSI_SOFTWARE_SUBDIR_OVERRIDE exists
  • Loading branch information
trz42 authored May 4, 2024
2 parents 7ea147a + 7d9b205 commit 731ca16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ if [ -z $EESSI_SOFTWARE_SUBDIR_OVERRIDE ]; then
echo ">> Determined \$EESSI_SOFTWARE_SUBDIR_OVERRIDE via 'eessi_software_subdir.py $DETECTION_PARAMETERS' script"
else
echo ">> Picking up pre-defined \$EESSI_SOFTWARE_SUBDIR_OVERRIDE: ${EESSI_SOFTWARE_SUBDIR_OVERRIDE}"
# make sure directory exists (since it's expected by init/eessi_environment_variables when using archdetect)
mkdir -p ${EESSI_PREFIX}/software/${EESSI_OS_TYPE}/${EESSI_SOFTWARE_SUBDIR_OVERRIDE}
fi

# Set all the EESSI environment variables (respecting $EESSI_SOFTWARE_SUBDIR_OVERRIDE)
Expand Down

0 comments on commit 731ca16

Please sign in to comment.