From f14f9e41d6ed1b4840996df82f73de36235b985f Mon Sep 17 00:00:00 2001 From: Jakob Kaiser <jakob.kaiser@kip.uni-heidelberg.de> Date: Mon, 12 Feb 2024 13:47:35 +0000 Subject: [PATCH] chore: Remove unsused function Change-Id: I005792a6a62aece78bce92975e27ab8b0ea22084 --- lib/yashchiki/commons.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/yashchiki/commons.sh b/lib/yashchiki/commons.sh index b6c20e66..7c15c391 100755 --- a/lib/yashchiki/commons.sh +++ b/lib/yashchiki/commons.sh @@ -57,20 +57,6 @@ get_host_env() { fi } -# Get the _{INSIDE,OUTSIDE} variant of a variable based in whether we are in a -# complete container or not. -# -# Usage: get_var_in_out <variable-name> -get_var_in_out() { - local var_name; - var_name="$1" - if [ -n "${SINGULARITY_NAME:-}" ]; then - printenv "${var_name}_INSIDE" - else - printenv "${var_name}_OUTSIDE" - fi -} - ##################### # SETUP ENVIRONMENT # ##################### -- GitLab