make sure paths to dirs don't end in a /

This commit is contained in:
Just van Rossum 2003-06-20 21:26:55 +00:00
parent 00a0b97dc5
commit 6a55242685
1 changed files with 2 additions and 2 deletions

View File

@ -171,10 +171,10 @@ class BundleBuilder(Defaults):
files = self.files[:]
for path in self.resources:
files.append((path, pathjoin("Contents", "Resources",
os.path.basename(path))))
os.path.basename(os.path.normpath(path)))))
for path in self.libs:
files.append((path, pathjoin("Contents", "Frameworks",
os.path.basename(path))))
os.path.basename(os.path.normpath(path)))))
if self.symlink:
self.message("Making symbolic links", 1)
msg = "Making symlink from"