diff options
author | Greg Ward <gward@python.net> | 2000-05-25 20:05:52 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-05-25 20:05:52 (GMT) |
commit | fe55e86a0a2e678f7f325f15c4607b56e80ebe61 (patch) | |
tree | fee856cb1216cb9b6e21af1eeca86f047d863b60 /Lib/distutils/command/build_scripts.py | |
parent | fd267d998d565f21ab876b6be53c2872463aff01 (diff) | |
download | cpython-fe55e86a0a2e678f7f325f15c4607b56e80ebe61.zip cpython-fe55e86a0a2e678f7f325f15c4607b56e80ebe61.tar.gz cpython-fe55e86a0a2e678f7f325f15c4607b56e80ebe61.tar.bz2 |
Take the basename of the script before concatenating it with the build dir.
Diffstat (limited to 'Lib/distutils/command/build_scripts.py')
-rw-r--r-- | Lib/distutils/command/build_scripts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py index 1829734..6467e65 100644 --- a/Lib/distutils/command/build_scripts.py +++ b/Lib/distutils/command/build_scripts.py @@ -52,7 +52,7 @@ class build_scripts (Command): self.mkpath(self.build_dir) for script in self.scripts: adjust = 0 - outfile = os.path.join(self.build_dir, script) + outfile = os.path.join(self.build_dir, os.path.basename(script)) if not self.force and not newer(script, outfile): self.announce("not copying %s (output up-to-date)" % script) |