[Python-checkins] python/dist/src/Lib/plat-mac bundlebuilder.py,1.23,1.24
jvr@users.sourceforge.net
jvr@users.sourceforge.net
Fri, 21 Mar 2003 14:22:21 -0800
- Previous message: [Python-checkins] python/dist/src/Doc/lib email.tex,1.9.6.3,1.9.6.4 emailcharsets.tex,1.1.2.2,1.1.2.3 emailheaders.tex,1.2.2.1,1.2.2.2 emailiter.tex,1.2.12.1,1.2.12.2 emailmessage.tex,1.4.8.2,1.4.8.3 emailmimebase.tex,1.2.2.1,1.2.2.2
- Next message: [Python-checkins] python/dist/src/Mac/OSX/Dist - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv26423
Modified Files:
bundlebuilder.py
Log Message:
use os.path.realpath() instead of os.readlink()
Index: bundlebuilder.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/bundlebuilder.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** bundlebuilder.py 21 Mar 2003 11:32:37 -0000 1.23
--- bundlebuilder.py 21 Mar 2003 22:22:19 -0000 1.24
***************
*** 444,450 ****
hashbang = "/usr/bin/python"
else:
! hashbang = sys.executable
! while os.path.islink(hashbang):
! hashbang = os.readlink(hashbang)
standalone = self.standalone
open(bootstrappath, "w").write(BOOTSTRAP_SCRIPT % locals())
--- 444,448 ----
hashbang = "/usr/bin/python"
else:
! hashbang = os.path.realpath(sys.executable)
standalone = self.standalone
open(bootstrappath, "w").write(BOOTSTRAP_SCRIPT % locals())
- Previous message: [Python-checkins] python/dist/src/Doc/lib email.tex,1.9.6.3,1.9.6.4 emailcharsets.tex,1.1.2.2,1.1.2.3 emailheaders.tex,1.2.2.1,1.2.2.2 emailiter.tex,1.2.12.1,1.2.12.2 emailmessage.tex,1.4.8.2,1.4.8.3 emailmimebase.tex,1.2.2.1,1.2.2.2
- Next message: [Python-checkins] python/dist/src/Mac/OSX/Dist - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]