Skip to content

Commit

Permalink
Quote path with variable in shell script
Browse files Browse the repository at this point in the history
(cherry picked from commit 46b2921)
  • Loading branch information
drybjed committed Aug 29, 2023
1 parent 7ce8fd5 commit 9751686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible-galaxy/make-collection
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ for role in "${!debops_role_map[@]}" ; do
if [ -f "ansible/playbooks/service/${role}.yml" ] ; then
read -r -a dependencies_in_playbooks <<<"$(git grep -h --word-regexp -e "role::.*" \
--and --not -e "role::${role}" \
ansible/playbooks/service/${role}.yml \
"ansible/playbooks/service/${role}.yml" \
| sed -e "s/^.*role:://" -e "s/'.*$//" \
| tr '\n' ' ')" || true
if [ -n "${dependencies_in_playbooks[*]+x}" ] ; then
Expand Down

0 comments on commit 9751686

Please sign in to comment.