[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/process/mkzopeinstance.py
be a little more careful with some path manipulations
Fred L. Drake, Jr.
fred at zope.com
Mon May 17 12:00:49 EDT 2004
Log message for revision 24775:
be a little more careful with some path manipulations
-=-
Modified: Zope3/trunk/src/zope/app/process/mkzopeinstance.py
===================================================================
--- Zope3/trunk/src/zope/app/process/mkzopeinstance.py 2004-05-17 15:43:50 UTC (rev 24774)
+++ Zope3/trunk/src/zope/app/process/mkzopeinstance.py 2004-05-17 16:00:49 UTC (rev 24775)
@@ -159,8 +159,8 @@
def parse_args(argv):
"""Parse the command line, returning an object representing the input."""
- path, prog = os.path.split(argv[0])
- basedir = os.path.dirname(os.path.realpath(path))
+ path, prog = os.path.split(os.path.realpath(argv[0]))
+ basedir = os.path.dirname(path)
# no assurance that this exists!
default_skeleton = os.path.join(basedir, "skel")
version = "%prog for " + zopeversion.ZopeVersionUtility.getZopeVersion()
More information about the Zope3-Checkins
mailing list