[Zope3-checkins] CVS: Zope3 - z3.py:1.19.4.3
Fred L. Drake, Jr.
fred@zope.com
Tue, 24 Jun 2003 15:41:18 -0400
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv30242
Modified Files:
Tag: fdrake-zconfig-in-zope-3-branch
z3.py
Log Message:
simplify some of the path algebra
=== Zope3/z3.py 1.19.4.2 => 1.19.4.3 ===
--- Zope3/z3.py:1.19.4.2 Tue Jun 24 09:43:33 2003
+++ Zope3/z3.py Tue Jun 24 15:41:18 2003
@@ -47,7 +47,7 @@
else:
src = 'src'
- here = os.path.join(os.getcwd(), os.path.split(program)[0])
+ here = os.path.dirname(os.path.abspath(program))
srcdir = os.path.abspath(src)
sys.path = [srcdir, here] + basepath