From e1609f712129cf07911763d6d02e727d9666dc70 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns Date: Mon, 7 Oct 2024 11:29:03 +0200 Subject: [PATCH] Source .env (again) when logging in via SSH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was broken with PR #18… --- root-files/home/beach/.bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/root-files/home/beach/.bashrc b/root-files/home/beach/.bashrc index 94cbcb9..73e2597 100644 --- a/root-files/home/beach/.bashrc +++ b/root-files/home/beach/.bashrc @@ -1,3 +1,8 @@ +# If this shell was started by SSHD, the environment variables need to be set: +if [[ -z "${FLOWNATIVE_LIB_PATH}" ]]; then + source /home/beach/.env +fi + # If not running interactively, skip the banner if [[ -z "$PS1" ]]; then export BANNER_FLOWNATIVE_SKIP="yes"