Kaydet (Commit) cfb30e23 authored tarafından Barry Warsaw's avatar Barry Warsaw

build(): Use self.builddir, not self.doc when copying the icons, so

they'll end up in the right directory when --dir is used.
üst c0e066a7
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment