summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-10-01 18:02:55 +0000
committerMatthias Clasen <mclasen@redhat.com>2020-10-01 18:02:55 +0000
commit9eecdb486ba81e244ec4d6ff5945a0e4101c3f7d (patch)
tree19d960206ed1c43d55f17bacf46dda70dc602be3
parentb2092227f5b6718c27380d6a7bd6842ffa008d56 (diff)
parent88403fa4032941958a172f8403debd8f01c118f1 (diff)
downloadgtk-doc-9eecdb486ba81e244ec4d6ff5945a0e4101c3f7d.tar.gz
Merge branch 'wip/smcv/mkhtml2-typo' into 'master'
mkhtml2: Fix apparent typo "os.getcmd()" See merge request GNOME/gtk-doc!50
-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)