Commit fe55e86a authored by Greg Ward's avatar Greg Ward

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

parent fd267d99
...@@ -52,7 +52,7 @@ class build_scripts (Command): ...@@ -52,7 +52,7 @@ class build_scripts (Command):
self.mkpath(self.build_dir) self.mkpath(self.build_dir)
for script in self.scripts: for script in self.scripts:
adjust = 0 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): if not self.force and not newer(script, outfile):
self.announce("not copying %s (output up-to-date)" % script) self.announce("not copying %s (output up-to-date)" % script)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment