Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfb30e2

Browse files
committed
build(): Use self.builddir, not self.doc when copying the icons, so
they'll end up in the right directory when --dir is used.
1 parent c0e066a commit cfb30e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tools/mkhowto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ class Job:
294294
"Could not locate support images of type %s."
295295
% `self.options.image_type`)
296296
for fn in imgs:
297-
new_fn = os.path.join(self.doc, os.path.basename(fn))
297+
new_fn = os.path.join(self.builddir, os.path.basename(fn))
298298
shutil.copyfile(fn, new_fn)
299299
if "text" in formats:
300300
self.require_temps()

0 commit comments

Comments
 (0)