Skip to content

Commit

Permalink
fix: broken shell command
Browse files Browse the repository at this point in the history
  • Loading branch information
codedwrench committed Nov 9, 2023
1 parent d9ad1ae commit 9419a00
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
loop: "{{ msys2_packages }}"

- name: Setup MSYS2
ansible.windows.win_shell: >
{{ drive }}:\\msys64\\msys2_shell.cmd -mingw32 -defterm -no-start -c
'pacman -Syu --needed --noconfirm {{ msys2_packages | join(' ') }} &&
pacman -Qe | cut -d '' '' -f 1 > /{{ drive }}/msys64/packages.txt'
ansible.windows.win_shell:
"{{ drive }}:\\msys64\\msys2_shell.cmd -mingw32 -defterm -no-start -c \
'pacman -Syu --needed --noconfirm {{ msys2_packages | join(' ') }} && \
pacman -Qe | cut -d '' '' -f 1 > /{{ drive }}/msys64/packages.txt'"
when: should_setup_msys2 is defined

- name: Get pacman installed list
Expand Down

0 comments on commit 9419a00

Please sign in to comment.