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:
Barry Warsaw 2002-10-01 15:38:01 +00:00
parent c0e066a7b8
commit cfb30e23d1
1 changed files with 1 additions and 1 deletions

View File

@ -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()