mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
make sure paths to dirs don't end in a /
This commit is contained in:
parent
00a0b97dc5
commit
6a55242685
1 changed files with 2 additions and 2 deletions
|
|
@ -171,10 +171,10 @@ class BundleBuilder(Defaults):
|
||||||
files = self.files[:]
|
files = self.files[:]
|
||||||
for path in self.resources:
|
for path in self.resources:
|
||||||
files.append((path, pathjoin("Contents", "Resources",
|
files.append((path, pathjoin("Contents", "Resources",
|
||||||
os.path.basename(path))))
|
os.path.basename(os.path.normpath(path)))))
|
||||||
for path in self.libs:
|
for path in self.libs:
|
||||||
files.append((path, pathjoin("Contents", "Frameworks",
|
files.append((path, pathjoin("Contents", "Frameworks",
|
||||||
os.path.basename(path))))
|
os.path.basename(os.path.normpath(path)))))
|
||||||
if self.symlink:
|
if self.symlink:
|
||||||
self.message("Making symbolic links", 1)
|
self.message("Making symbolic links", 1)
|
||||||
msg = "Making symlink from"
|
msg = "Making symlink from"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue