1
0
Fork 0
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:
Alexei Znamensky 2021-01-04 01:35:46 +13:00 committed by GitHub
parent 785951484b
commit 0bd4b3cbc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View 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).

View file

@ -136,7 +136,7 @@ def main():
base_command.extend(make_parameters) base_command.extend(make_parameters)
# Check if the target is already up to date # 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 module.check_mode:
# If we've been asked to do a dry run, we only need # If we've been asked to do a dry run, we only need
# to report whether or not the target is up to date # to report whether or not the target is up to date