[Zope-Checkins] SVN: Zope/trunk/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:47:12 EST 2005
    
    
  
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.
    
    
More information about the Zope-Checkins
mailing list