Merge pull request #5378 from tk0miya/5127_quickstart_should_not_overwrite_Makefiles

Fix #5127: quickstart: ``Makefile`` and ``make.bat`` are not overwritten if exists
This commit is contained in:
Takeshi KOMIYA 2018-09-06 22:19:50 +09:00 committed by GitHub
commit 888eea2944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ Incompatible changes
* #5282: html theme: refer ``pygments_style`` settings of HTML themes
preferentially
* The URL of download files are changed
* #5127: quickstart: ``Makefile`` and ``make.bat`` are not overwritten if exists
Deprecated
----------

View File

@ -678,7 +678,7 @@ def main(argv=sys.argv[1:]):
except ValueError:
print(__('Invalid template variable: %s') % variable)
generate(d, templatedir=args.templatedir)
generate(d, overwrite=False, templatedir=args.templatedir)
return 0