copr: builders: another typo in stat
This commit is contained in:
parent
df711cea46
commit
5bd03f7cb3
1 changed files with 2 additions and 2 deletions
|
@ -49,11 +49,11 @@
|
|||
|
||||
- name: stat /etc/copr-rpmbuild/mock.cfg.j2.rpmnew
|
||||
stat: path=/etc/copr-rpmbuild/mock.cfg.j2.rpmnew
|
||||
register: stat_mock_cfg_new
|
||||
register: mock_cfg_new
|
||||
|
||||
- name: restore mock.cfg.j2 from package contents
|
||||
shell: mv -f /etc/copr-rpmbuild/mock.cfg.j2.rpmnew /etc/copr-rpmbuild/mock.cfg.j2
|
||||
when: stat_mock_cfg_new.exists
|
||||
when: mock_cfg_new.stat.exists
|
||||
|
||||
# temporary thing, till we have merged:
|
||||
# https://pagure.io/copr/copr/pull-request/1109
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue