[Zope-Checkins]
SVN: Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py
Forward-port fix for non-installed software home from 2.8 branch.
Tres Seaver
tseaver at palladion.com
Fri Dec 2 11:46:28 EST 2005
Log message for revision 40486:
Forward-port fix for non-installed software home from 2.8 branch.
Changed:
U Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py
-=-
Modified: Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py
===================================================================
--- Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py 2005-12-02 16:44:46 UTC (rev 40485)
+++ Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py 2005-12-02 16:46:27 UTC (rev 40486)
@@ -238,6 +238,8 @@
return
script = os.path.join(zope_home, 'bin', 'test.py')
+ if not os.path.exists(script):
+ script = os.path.join(zope_home, 'test.py') # no inplace build!
assert os.path.exists(script)
# Supply our config file by default.
More information about the Zope-Checkins
mailing list