Skip to content

Commit

Permalink
Fix deprecated readlink -f
Browse files Browse the repository at this point in the history
  • Loading branch information
hpwxf committed Jun 20, 2022
1 parent bc2891f commit 9d64e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/R/tools/ExternalLibsExtractor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ ! -d "${LIBKRIGING_PATH}" ]]; then
fi

BASEDIR=$(dirname "$0")
BASEDIR=$(readlink -f "${BASEDIR}")
BASEDIR=$(cd "$BASEDIR" && pwd -P)

TMPDIR=$(mktemp -d)
ARMA_LIBS=$(cmake -DLIBKRIGING_PATH="${LIBKRIGING_PATH}" -B "${TMPDIR}" "${BASEDIR}" | sed -n -r -e 's/^-- EXTERNAL_LIBS=(.*)$/\1/p')
Expand Down

0 comments on commit 9d64e7e

Please sign in to comment.