summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-10-01 15:30:56 (GMT)
committerFred Drake <fdrake@acm.org>2002-10-01 15:30:56 (GMT)
commitc0e066a7b8f4de89efe683d48fa1a5d70a0b6160 (patch)
tree55533f9d66af682c8e157caf41269f8ca80bdc01 /Doc
parentdd868d32e0f1d947e40bb050a4be99892d62c4ea (diff)
downloadcpython-c0e066a7b8f4de89efe683d48fa1a5d70a0b6160.zip
cpython-c0e066a7b8f4de89efe683d48fa1a5d70a0b6160.tar.gz
cpython-c0e066a7b8f4de89efe683d48fa1a5d70a0b6160.tar.bz2
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.
Diffstat (limited to 'Doc')
-rwxr-xr-xDoc/tools/mkhowto2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto
index 4fe97fb..d0ab63c 100755
--- a/Doc/tools/mkhowto
+++ b/Doc/tools/mkhowto
@@ -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":