Kaydet (Commit) c0e066a7 authored tarafından Fred Drake's avatar Fred Drake

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.
üst dd868d32
...@@ -205,7 +205,7 @@ class Options: ...@@ -205,7 +205,7 @@ class Options:
elif opt == "--dir": elif opt == "--dir":
if os.sep == "\\": if os.sep == "\\":
arg = re.sub("/", "\\", arg) arg = re.sub("/", "\\", arg)
self.builddir = arg self.builddir = os.path.expanduser(arg)
elif opt == "--paper": elif opt == "--paper":
self.paper = arg self.paper = arg
elif opt == "--dvips-safe": elif opt == "--dvips-safe":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment