Skip to content

Commit 5a9beea

Browse files
Use realpath instead changing directory
1 parent ed4b105 commit 5a9beea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.ci/create-arn-table.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -o pipefail
88

99
AWS_FOLDER=${AWS_FOLDER?:No aws folder provided}
1010
# Get the repository root directory (where .git is located)
11-
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
11+
REPO_ROOT="$(realpath $(dirname "${BASH_SOURCE[0]}")/..)"
1212
ARN_FILE="${REPO_ROOT}/.arn-file.md"
1313

1414
{

0 commit comments

Comments
 (0)