summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2022-10-30 20:18:06 +0000
committerShaun McCance <shaunm@gnome.org>2022-10-30 20:18:06 +0000
commit5c7ca5225f456fe1f0a4603f60291c0daab98fc2 (patch)
tree0166587a62b59f4ec5c4cac0d606728ca341a675
parent73b668ead2b7e915568fd4517dc25cf2dcd9fe43 (diff)
parent4f3984b6abe090f25fd302fbfceca3b04d6df165 (diff)
downloadyelp-tools-5c7ca5225f456fe1f0a4603f60291c0daab98fc2.tar.gz
Merge branch 'issue22' into 'master'
Ensure trailing slash on output dir for DocBook See merge request GNOME/yelp-tools!10
-rwxr-xr-xtools/yelp-build.in3
1 files changed, 3 insertions, 0 deletions
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: