Skip to content

Commit

Permalink
Remove use of readlink
Browse files Browse the repository at this point in the history
Fixes #12
  • Loading branch information
lukebakken committed Jul 3, 2024
1 parent e7ef6cc commit e361bd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/ubuntu/gha-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ if [[ -d $GITHUB_WORKSPACE ]]
then
echo "[INFO] GITHUB_WORKSPACE is set: '$GITHUB_WORKSPACE'"
else
GITHUB_WORKSPACE="$(readlink --canonicalize-existing "$script_dir/../..")"
GITHUB_WORKSPACE="$(cd "$script_dir/../.." && pwd)"
echo "[INFO] set GITHUB_WORKSPACE to: '$GITHUB_WORKSPACE'"
fi

exit 0

if [[ $1 == 'toxiproxy' ]]
then
readonly run_toxiproxy='true'
Expand Down

0 comments on commit e361bd9

Please sign in to comment.