[Zope-Checkins] CVS: Zope/inst - make_instance.py:1.3.4.4

Chris McDonough chrism@zope.com
Thu, 29 Aug 2002 02:14:53 -0400


Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv13673/inst

Modified Files:
      Tag: chrism-install-branch
	make_instance.py 
Log Message:
Actually add a 'make instance' command.

Expand homedirs on user input to make_instance.py.


=== Zope/inst/make_instance.py 1.3.4.3 => 1.3.4.4 ===
--- Zope/inst/make_instance.py:1.3.4.3	Thu Aug 29 01:22:08 2002
+++ Zope/inst/make_instance.py	Thu Aug 29 02:14:52 2002
@@ -26,7 +26,7 @@
         print
         ih = raw_input('Instance home [%s]: ' % home)
         if ih == '': ih = home
-        else: ih = os.path.abspath(ih)
+        else: ih = os.path.abspath(os.path.expanduser(ih))
         if not os.path.exists(ih):
             print '%s does not exist.' % `ih`
             make_ih = raw_input('Shall I create it [y]? ')