From 70bf1a4206918795e661ca0cfdfb91f8161d5529 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Tue, 23 Jul 2024 09:11:59 +0000 Subject: [PATCH] Use readlink -f instead of realpath (CentOS6) --- init/eessi_archdetect.sh | 1 - init/eessi_environment_variables | 1 - init/minimal_eessi_env | 1 - 3 files changed, 3 deletions(-) diff --git a/init/eessi_archdetect.sh b/init/eessi_archdetect.sh index e8b7413203..3f0adf6938 100755 --- a/init/eessi_archdetect.sh +++ b/init/eessi_archdetect.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -# VERSION="1.1.0" # default log level: only emit warnings or errors diff --git a/init/eessi_environment_variables b/init/eessi_environment_variables index ea6e20dc19..933826011a 100644 --- a/init/eessi_environment_variables +++ b/init/eessi_environment_variables @@ -1,6 +1,5 @@ # this script is *sourced*, not executed, so can't rely on $0 to determine path to self # $BASH_SOURCE points to correct path, see also http://mywiki.wooledge.org/BashFAQ/028 -# EESSI_INIT_DIR_PATH=$(dirname $(readlink -f $BASH_SOURCE)) function error() { diff --git a/init/minimal_eessi_env b/init/minimal_eessi_env index 3a9f30a2d4..8dff836f90 100644 --- a/init/minimal_eessi_env +++ b/init/minimal_eessi_env @@ -1,6 +1,5 @@ # define minimal NESSI environment, without relying on external scripts # -# # this script is *sourced*, not executed, so can't rely on $0 to determine path to self # $BASH_SOURCE points to correct path, see also http://mywiki.wooledge.org/BashFAQ/028 EESSI_INIT_DIR_PATH=$(dirname $(readlink -f $BASH_SOURCE))