From 6a5524268539f0ed2cf2a4c065afcd78b27d6859 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Fri, 20 Jun 2003 21:26:55 +0000 Subject: make sure paths to dirs don't end in a / --- Lib/plat-mac/bundlebuilder.py | 4 ++-- 1 file 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" -- cgit v0.12