From: Greg Ward Date: Sat, 16 Sep 2000 15:30:47 +0000 (+0000) Subject: Ensure sub-commands of "install" are reinitialized too. X-Git-Tag: v2.0b2~255 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24511d2a6ed7d79bfd8f67b67c7b4fb7449b19f1;p=thirdparty%2FPython%2Fcpython.git Ensure sub-commands of "install" are reinitialized too. Run "install" the right way, by calling 'run_command()'. --- diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py index 2da9c48795aa..afeb4ad35fef 100644 --- a/Lib/distutils/command/bdist_dumb.py +++ b/Lib/distutils/command/bdist_dumb.py @@ -71,12 +71,11 @@ class bdist_dumb (Command): self.run_command ('build') - install = self.reinitialize_command('install') + install = self.reinitialize_command('install', reinit_subcommands=1) install.root = self.bdist_dir self.announce ("installing to %s" % self.bdist_dir) - install.ensure_finalized() - install.run() + self.run_command('install') # And make an archive relative to the root of the # pseudo-installation tree.