summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2020-08-13 00:09:11 +0100
committerSimon McVittie <smcv@debian.org>2020-08-13 00:10:51 +0100
commit88403fa4032941958a172f8403debd8f01c118f1 (patch)
treede25c4827f5cbe463f5c6d54a9984a4a1e546334
parent250a21f24365b6fed6271b5f235307d9fbef5eeb (diff)
downloadgtk-doc-88403fa4032941958a172f8403debd8f01c118f1.tar.gz
mkhtml2: Fix apparent typo "os.getcmd()"wip/smcv/mkhtml2-typo
os.getcwd() would make sense here. This call isn't actually reached in practice, because the gtkdoc-mkhtml2 script entry point always passes something for options.output_dir, even if it's ".". Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r--gtkdoc/mkhtml2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkdoc/mkhtml2.py b/gtkdoc/mkhtml2.py
index 2eb5c73..3bec6fd 100644
--- a/gtkdoc/mkhtml2.py
+++ b/gtkdoc/mkhtml2.py
@@ -1862,7 +1862,7 @@ def run(options):
module = options.args[0]
document = options.args[1]
- output_dir = options.output_dir or os.getcmd()
+ output_dir = options.output_dir or os.getcwd()
if options.output_dir and not os.path.isdir(output_dir):
os.mkdir(output_dir)