summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-06-20 21:26:55 (GMT)
committerJust van Rossum <just@letterror.com>2003-06-20 21:26:55 (GMT)
commit6a5524268539f0ed2cf2a4c065afcd78b27d6859 (patch)
treecd3f4d29da8f62bfe166e8b0ab24f5f609f84210
parent00a0b97dc5f9c152cb1c119a73fde3c4b74bbc38 (diff)
downloadcpython-6a5524268539f0ed2cf2a4c065afcd78b27d6859.zip
cpython-6a5524268539f0ed2cf2a4c065afcd78b27d6859.tar.gz
cpython-6a5524268539f0ed2cf2a4c065afcd78b27d6859.tar.bz2
make sure paths to dirs don't end in a /
-rwxr-xr-xLib/plat-mac/bundlebuilder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py
index a07e97f..eb3a4a8 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -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"