From 4f3984b6abe090f25fd302fbfceca3b04d6df165 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Wed, 12 Oct 2022 10:30:30 -0400 Subject: Ensure trailing slash on output dir for DocBook xsltproc is picky. We already do this for Mallard, but missed it for DocBook. https://gitlab.gnome.org/GNOME/yelp-tools/-/issues/22 --- tools/yelp-build.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/yelp-build.in b/tools/yelp-build.in index 438f082..966c623 100755 --- a/tools/yelp-build.in +++ b/tools/yelp-build.in @@ -557,6 +557,9 @@ class XhtmlBuilder (Builder): if not os.path.isdir(output): print('Output must be a directory', file=sys.stderr) return 1 + if not output.endswith('/'): + # xsltproc is picky about this + output = output + '/' if path is None: path = self.get_option_list('path') if path is None: -- cgit v1.2.1