mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
build(): Use self.builddir, not self.doc when copying the icons, so
they'll end up in the right directory when --dir is used.
This commit is contained in:
parent
c0e066a7b8
commit
cfb30e23d1
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ class Job:
|
||||||
"Could not locate support images of type %s."
|
"Could not locate support images of type %s."
|
||||||
% `self.options.image_type`)
|
% `self.options.image_type`)
|
||||||
for fn in imgs:
|
for fn in imgs:
|
||||||
new_fn = os.path.join(self.doc, os.path.basename(fn))
|
new_fn = os.path.join(self.builddir, os.path.basename(fn))
|
||||||
shutil.copyfile(fn, new_fn)
|
shutil.copyfile(fn, new_fn)
|
||||||
if "text" in formats:
|
if "text" in formats:
|
||||||
self.require_temps()
|
self.require_temps()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue