Skip to content

Commit

Permalink
Correct bashism in script
Browse files Browse the repository at this point in the history
  • Loading branch information
cjeanner committed Nov 20, 2023
1 parent 1fdaf3a commit 09b596f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/link_roles_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -xe
# Create links for roles' README.md in
# docs/source/roles
PROJECT_DIR="$(dirname $(readlink -f ${BASH_SOURCE[0]}))/../"
PROJECT_DIR="$(dirname $(readlink -f $0))/../"
for i in ${PROJECT_DIR}/ci_framework/roles/*/README.md; do
dir_name=$(dirname ${i})
role_name=$(basename ${dir_name})
Expand Down

0 comments on commit 09b596f

Please sign in to comment.