[damned-lies/yelp-build-traling-slash: 2/2] fix: add trailing slash after path for yelp-build
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/yelp-build-traling-slash: 2/2] fix: add trailing slash after path for yelp-build
- Date: Fri, 7 Oct 2022 21:56:16 +0000 (UTC)
commit 3db5aa73b4b871616b28f1eba269c4768244f312
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date: Fri Oct 7 23:56:04 2022 +0200
fix: add trailing slash after path for yelp-build
vertimus/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vertimus/views.py b/vertimus/views.py
index 44c61998..f31c49f9 100644
--- a/vertimus/views.py
+++ b/vertimus/views.py
@@ -485,7 +485,7 @@ class BuildTranslatedDocsView(PoFileActionBase):
build_ref = [str(build_dir)]
else:
build_ref = [os.path.join(build_dir, s.name) for s in sources]
- cmd = ["yelp-build", "html", "-o", str(html_dir), "-p", str(doc_format.vcs_path / "C"),
*build_ref]
+ cmd = ["yelp-build", "html", "-o", str(html_dir) + "/", "-p", str(doc_format.vcs_path / "C"),
*build_ref]
result = subprocess.run(cmd, cwd=str(build_dir), stderr=subprocess.PIPE)
index_html = html_dir / "index.html"
if result.returncode != 0 or (not index_html.exists() and len(result.stderr) > 0):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]