Log message for revision 40488:
  Forward-port fix for non-installed software home from 2.8 branch.

Changed:
  U   Zope/trunk/lib/python/Zope2/Startup/zopectl.py

-=-
Modified: Zope/trunk/lib/python/Zope2/Startup/zopectl.py
===================================================================
--- Zope/trunk/lib/python/Zope2/Startup/zopectl.py      2005-12-02 16:46:40 UTC 
(rev 40487)
+++ Zope/trunk/lib/python/Zope2/Startup/zopectl.py      2005-12-02 16:47:12 UTC 
(rev 40488)
@@ -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.

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to