Skip to content

Commit 5a99ee0

Browse files
committed
forward EESSI_INIT_PREFIX variable if it's set
1 parent 89e3b81 commit 5a99ee0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run_in_compat_layer_env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ fi
5656
if [ ! -z ${EASYBUILD_ROBOT_PATHS} ]; then
5757
INPUT="export EASYBUILD_ROBOT_PATHS=${EASYBUILD_ROBOT_PATHS}; ${INPUT}"
5858
fi
59+
if [ ! -z ${EESSI_INIT_PREFIX} ]; then
60+
INPUT="export EESSI_INIT_PREFIX=${EESSI_INIT_PREFIX}; ${INPUT}"
61+
fi
5962

6063
echo "Running '${INPUT}' in EESSI (${EESSI_CVMFS_REPO}) ${EESSI_VERSION} compatibility layer environment..."
6164
${EESSI_COMPAT_LAYER_DIR}/startprefix <<< "${INPUT}"

0 commit comments

Comments
 (0)