[Zope-Checkins] CVS: ZEO/ZEO - start.py:1.43.4.1

Florent Guillaume fg@nuxeo.com
Mon, 20 Jan 2003 13:03:47 -0500


Update of /cvs-repository/ZEO/ZEO
In directory cvs.zope.org:/tmp/cvs-serv24341

Modified Files:
      Tag: ZEO-2_0-branch
	start.py 
Log Message:
Fixed to correctly munge sys.path.
Now the documented way to start ZEO (python lib/python/ZEO/start.py -p xxx)
works.


=== ZEO/ZEO/start.py 1.43 => 1.43.4.1 ===
--- ZEO/ZEO/start.py:1.43	Thu Aug 29 12:31:17 2002
+++ ZEO/ZEO/start.py	Mon Jan 20 13:03:45 2003
@@ -21,7 +21,7 @@
 import types
 
 def directory(p, n=1):
-    d = p
+    d = os.path.abspath(p)
     while n:
         d = os.path.split(d)[0]
         if not d or d == '.':