[Zope-Checkins] SVN: Zope/branches/console-scripts/src/Zope2/utilities/mkzopeinstance.py fixed detection of zopeskelsrc

Andreas Jung andreas at andreas-jung.com
Thu Feb 19 08:11:27 EST 2009


Log message for revision 96743:
  fixed detection of zopeskelsrc
  

Changed:
  U   Zope/branches/console-scripts/src/Zope2/utilities/mkzopeinstance.py

-=-
Modified: Zope/branches/console-scripts/src/Zope2/utilities/mkzopeinstance.py
===================================================================
--- Zope/branches/console-scripts/src/Zope2/utilities/mkzopeinstance.py	2009-02-19 13:00:24 UTC (rev 96742)
+++ Zope/branches/console-scripts/src/Zope2/utilities/mkzopeinstance.py	2009-02-19 13:11:26 UTC (rev 96743)
@@ -86,7 +86,9 @@
     configfile = os.path.join(instancehome, 'etc', 'zope.conf')
     if skelsrc is None:
         # default to using stock Zope skeleton source
-        skelsrc = os.path.join(zopehome, "skel")
+#        skelsrc = os.path.join(zopehome, "skel")
+        # 'utilites' dir moved to Zope2.utilities
+        skelsrc = os.path.join(zopehome, "..", "..", "skel")
 
     inituser = os.path.join(instancehome, "inituser")
     if not (user or os.path.exists(inituser)):



More information about the Zope-Checkins mailing list