mirror of https://github.com/python/cpython
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
|
@ -294,7 +294,7 @@ class Job:
|
|||
"Could not locate support images of type %s."
|
||||
% `self.options.image_type`)
|
||||
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)
|
||||
if "text" in formats:
|
||||
self.require_temps()
|
||||
|
|
Loading…
Reference in New Issue