Skip to content

Commit

Permalink
Replace realpath with another resolution
Browse files Browse the repository at this point in the history
As per #58 (comment)
realpath is not available out of the box on OSX. Instead of installing
additional package, we changed the way the path is resolved.
  • Loading branch information
nkuba committed Dec 8, 2023
1 parent cc54053 commit 3a05a45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/scripts/fetch_external_artifacts.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#! /bin/bash
set -eou pipefail

ROOT_DIR="$(realpath "$(dirname $0)/../")"
ROOT_DIR=$(
cd "$(dirname $0)/../"
pwd -P
)
TMP_DIR=${ROOT_DIR}/tmp/external-artifacts
EXTERNAL_ARTIFACTS_DIR=${ROOT_DIR}/external

Expand Down

0 comments on commit 3a05a45

Please sign in to comment.