[Zodb-checkins] CVS: ZODB3/ZEO - mkzeoinst.py:1.7
Guido van Rossum
guido@python.org
Wed, 22 Jan 2003 20:04:18 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv8183
Modified Files:
mkzeoinst.py
Log Message:
Make home absolute if it isn't already absolute. Don't change it if
it is already absolute; there may be a good reason.
=== ZODB3/ZEO/mkzeoinst.py 1.6 => 1.7 ===
--- ZODB3/ZEO/mkzeoinst.py:1.6 Wed Jan 22 19:56:03 2003
+++ ZODB3/ZEO/mkzeoinst.py Wed Jan 22 20:04:15 2003
@@ -108,6 +108,8 @@
print "Usage: mkzeoinst.py home [port]"
sys.exit(2)
home = sys.argv[1]
+ if not os.path.isabs(home):
+ home = os.path.abspath(home)
if sys.argv[2:]:
port = int(sys.argv[2])
else: