Skip to content

Commit edfd006

Browse files
Remove use of readlink (#16)
* Remove use of `readlink` --------- Signed-off-by: Gabriele Santomaggio <[email protected]> Co-authored-by: Gabriele Santomaggio <[email protected]>
1 parent e7ef6cc commit edfd006

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.ci/ubuntu/gha-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
set -o errexit
44
set -o pipefail
@@ -21,7 +21,7 @@ if [[ -d $GITHUB_WORKSPACE ]]
2121
then
2222
echo "[INFO] GITHUB_WORKSPACE is set: '$GITHUB_WORKSPACE'"
2323
else
24-
GITHUB_WORKSPACE="$(readlink --canonicalize-existing "$script_dir/../..")"
24+
GITHUB_WORKSPACE="$(cd "$script_dir/../.." && pwd)"
2525
echo "[INFO] set GITHUB_WORKSPACE to: '$GITHUB_WORKSPACE'"
2626
fi
2727

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,7 @@ Tests/coverage.*
125125

126126
# docs
127127
docs/temp/
128+
129+
# ci logs
130+
.ci/ubuntu/log/*
131+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This library is in early stages of development. It is meant to be used with Rabb
44

55
## How to Run
66

7-
- Start the broker with `./.ci/ubuntu/gha-setup.sh`. Note that this has been tested on Ubuntu 22 with docker.
7+
- Start the broker with `./.ci/ubuntu/gha-setup.sh start`. Note that this has been tested on Ubuntu 22 with docker.
88
- Run the tests with ` dotnet test ./Build.csproj --logger "console;verbosity=detailed" /p:AltCover=true`
99
- Stop RabbitMQ with `./.ci/ubuntu/gha-setup.sh stop`
1010

0 commit comments

Comments
 (0)