From: Just van Rossum Date: Fri, 20 Jun 2003 21:26:55 +0000 (+0000) Subject: make sure paths to dirs don't end in a / X-Git-Tag: v2.3c1~352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a5524268539f0ed2cf2a4c065afcd78b27d6859;p=python make sure paths to dirs don't end in a / --- diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index a07e97f22e..eb3a4a829a 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"