]> granicus.if.org Git - python/commitdiff
build(): Use self.builddir, not self.doc when copying the icons, so
authorBarry Warsaw <barry@python.org>
Tue, 1 Oct 2002 15:38:01 +0000 (15:38 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 1 Oct 2002 15:38:01 +0000 (15:38 +0000)
they'll end up in the right directory when --dir is used.

Doc/tools/mkhowto

index d0ab63c48d84c0754e801a10e084645fc0d60194..b542c261c5fe1fa94c3e70dd56cee468699282e3 100755 (executable)
@@ -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()