Skip to content

Commit

Permalink
Merge pull request EESSI#433 from TopRichard/nessi-2023.06-readlink-r…
Browse files Browse the repository at this point in the history
…ealpath2

Use readlink -f instead of realpath (CentOS6)2
  • Loading branch information
TopRichard authored Jul 23, 2024
2 parents 3146fa6 + df42a20 commit fba78de
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 fba78de

Please sign in to comment.