diff --git a/lib/yashchiki/commons.sh b/lib/yashchiki/commons.sh index b6c20e66a57f323da104ec3c429db20d25f13bc2..7c15c391de2e029274cde458ed08aec85ee9ef10 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 # #####################