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)
(cherry picked from commit 9751686)
  • Loading branch information
drybjed committed Aug 29, 2023
1 parent 12ceb78 commit b9f23b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible-galaxy/make-collection
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 b9f23b7

Please sign in to comment.