From c064d982cf37f47b2d45cc4cb26173ac0304261e Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Wed, 19 Feb 2025 10:12:25 +0100 Subject: [PATCH] goto_dir: add ENVINIT --- shellscripts/goto_build_dir.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shellscripts/goto_build_dir.sh b/shellscripts/goto_build_dir.sh index 456847cc..ac60aaee 100755 --- a/shellscripts/goto_build_dir.sh +++ b/shellscripts/goto_build_dir.sh @@ -8,6 +8,7 @@ # ---------------------------------------------------------------------- # 2024-01-19 v1.0 <axel.hahn@iml.unibe.ch> first lines # 2024-07-25 v1.1 <axel.hahn@iml.unibe.ch> deny root access; shell fixes +# 2025-02-19 v1.2 <axel.hahn@iml.unibe.ch> add ENVINIT # ====================================================================== cd "$( dirname "$0" )/.." || exit 1 @@ -87,8 +88,9 @@ ls "$DIR_APPROOT" >/dev/null || exit 2 export DIR_APPROOT export GIT_SSH="$CI_APPROOT/shellscripts/gitsshwrapper.sh" export DIR_SSH_KEYS="$CI_WORKDIR/data/sshkeys" -export NVMINIT="$CI_APPROOT/shellscripts/nvm_init.sh"; -export RVMSCRIPT="/usr/local/rvm/scripts/rvm"; +export NVMINIT="$CI_APPROOT/shellscripts/nvm_init.sh" +export RVMSCRIPT="/usr/local/rvm/scripts/rvm" +export ENVINIT="$CI_APPROOT//shellscripts/env_init.sh" cd "$DIR_APPROOT" || exit 1 cat <<EOF -- GitLab