[Python-checkins] python/dist/src/Lib/plat-mac bundlebuilder.py,1.29,1.30
jvr@users.sourceforge.net
jvr@users.sourceforge.net
2003年6月20日 14:26:58 -0700
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv5464
Modified Files:
bundlebuilder.py
Log Message:
make sure paths to dirs don't end in a /
Index: bundlebuilder.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/bundlebuilder.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** bundlebuilder.py 20 Jun 2003 21:18:22 -0000 1.29
--- bundlebuilder.py 20 Jun 2003 21:26:55 -0000 1.30
***************
*** 172,179 ****
for path in self.resources:
files.append((path, pathjoin("Contents", "Resources",
! os.path.basename(path))))
for path in self.libs:
files.append((path, pathjoin("Contents", "Frameworks",
! os.path.basename(path))))
if self.symlink:
self.message("Making symbolic links", 1)
--- 172,179 ----
for path in self.resources:
files.append((path, pathjoin("Contents", "Resources",
! os.path.basename(os.path.normpath(path)))))
for path in self.libs:
files.append((path, pathjoin("Contents", "Frameworks",
! os.path.basename(os.path.normpath(path)))))
if self.symlink:
self.message("Making symbolic links", 1)