[Python-checkins] python/dist/src/Doc/tools mkhowto,1.34,1.35

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
2002年10月01日 08:30:59 -0700


Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv5567
Modified Files:
	mkhowto 
Log Message:
When the HTML output dir is specified using --dir=~/foo, the tilde
needs to be expanded by mkhowto, since the shell won't touch it except
at the start of the complete argument.
Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** mkhowto	1 Oct 2002 15:24:03 -0000	1.34
--- mkhowto	1 Oct 2002 15:30:56 -0000	1.35
***************
*** 206,210 ****
 if os.sep == "\\":
 arg = re.sub("/", "\\", arg)
! self.builddir = arg
 elif opt == "--paper":
 self.paper = arg
--- 206,210 ----
 if os.sep == "\\":
 arg = re.sub("/", "\\", arg)
! self.builddir = os.path.expanduser(arg)
 elif opt == "--paper":
 self.paper = arg

AltStyle によって変換されたページ (->オリジナル) /