Skip to content

Commit

Permalink
make sure env var is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Jun 5, 2024
1 parent 532e774 commit 6f63976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/extra/install_extra_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ fi
check_eessi_initialised

# As an installation location just use $EESSI_SOFTWARE_PATH
NESSI_CVMFS_INSTALL=${EESSI_SOFTWARE_PATH}
export NESSI_CVMFS_INSTALL=${EESSI_SOFTWARE_PATH}

# we need a directory we can use for temporary storage
if [[ -z "${TEMP_DIR}" ]]; then
tmpdir=$(mktemp -d)
else
mkdir -p ${TEMP_DIR}
tmpdir=$(mktemp -d --tmpdir=${TEMP_DIR} custom_ctypes.XXX)
tmpdir=$(mktemp -d --tmpdir=${TEMP_DIR} extra.XXX)
if [[ ! -d "$tmpdir" ]] ; then
fatal_error "Could not create directory ${tmpdir}"
fi
Expand Down

0 comments on commit 6f63976

Please sign in to comment.