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.
This commit is contained in:
Fred Drake 2002-10-01 15:30:56 +00:00
parent dd868d32e0
commit c0e066a7b8
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class Options:
elif opt == "--dir":
if os.sep == "\\":
arg = re.sub("/", "\\", arg)
self.builddir = arg
self.builddir = os.path.expanduser(arg)
elif opt == "--paper":
self.paper = arg
elif opt == "--dvips-safe":