Fix #5127: quickstart: `Makefile and make.bat` are not overwritten if exists

This commit is contained in:
Takeshi KOMIYA 2018-09-03 01:36:18 +09:00
parent c6e0d92d10
commit bd7c28f471
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Incompatible changes
* #5282: html theme: refer ``pygments_style`` settings of HTML themes
preferentially
* #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