Skip to content

Commit

Permalink
Use readlink -f instead of realpath (CentOS6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Jul 23, 2024
1 parent 3ba9645 commit 70bf1a4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion init/eessi_archdetect.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
#
VERSION="1.1.0"

# default log level: only emit warnings or errors
Expand Down
1 change: 0 additions & 1 deletion init/eessi_environment_variables
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
1 change: 0 additions & 1 deletion init/minimal_eessi_env
Original file line number Diff line number Diff line change
@@ -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))
Expand Down

0 comments on commit 70bf1a4

Please sign in to comment.