Take the basename of the script before concatenating it with the build dir.

This commit is contained in:
Greg Ward 2000-05-25 20:05:52 +00:00
parent fd267d998d
commit fe55e86a0a
1 changed files with 1 additions and 1 deletions

View File

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