From 6f639761313f4383a75d287481f86c0bfbcdff63 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Wed, 5 Jun 2024 22:35:21 +0200 Subject: [PATCH] make sure env var is defined --- scripts/extra/install_extra_packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/extra/install_extra_packages.sh b/scripts/extra/install_extra_packages.sh index e0bc583c5d..18e4903edf 100755 --- a/scripts/extra/install_extra_packages.sh +++ b/scripts/extra/install_extra_packages.sh @@ -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