mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
changed make parameter from --question to -q (#1574)
* changed make parameter from --question to -q * changelog fragment * Update changelogs/fragments/1574-make-question.yaml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
785951484b
commit
0bd4b3cbc9
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/1574-make-question.yaml
Normal file
2
changelogs/fragments/1574-make-question.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- make - fixed ``make`` parameter used for check mode when running a non-GNU ``make`` (https://github.com/ansible-collections/community.general/pull/1574).
|
|
@ -136,7 +136,7 @@ def main():
|
|||
base_command.extend(make_parameters)
|
||||
|
||||
# Check if the target is already up to date
|
||||
rc, out, err = run_command(base_command + ['--question'], module, check_rc=False)
|
||||
rc, out, err = run_command(base_command + ['-q'], module, check_rc=False)
|
||||
if module.check_mode:
|
||||
# If we've been asked to do a dry run, we only need
|
||||
# to report whether or not the target is up to date
|
||||
|
|
Loading…
Reference in a new issue