aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-13 17:33:54 -0300
committerEuAndreh <eu@euandre.org>2021-07-13 17:33:56 -0300
commit5dadedb7c36b03e1bd0a4bea0cd9659641ed1148 (patch)
tree0aaa54dfc77755a7b10e406b75e89394b152acc7
parentaux/workflow/l10n.sh: Fix --include-codeblocks argument to md2po (diff)
downloadgit-permalink-5dadedb7c36b03e1bd0a4bea0cd9659641ed1148.tar.gz
git-permalink-5dadedb7c36b03e1bd0a4bea0cd9659641ed1148.tar.xz
aux/workflow/l10n.sh: Touch $pofile before generating it
For some reason, sometimes it doesn't generate the file if it doesnt already exist.
-rwxr-xr-xaux/workflow/l10n.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/aux/workflow/l10n.sh b/aux/workflow/l10n.sh
index a158452..20c95d8 100755
--- a/aux/workflow/l10n.sh
+++ b/aux/workflow/l10n.sh
@@ -31,6 +31,7 @@ for from_f in "$@"; do
po4a-translate -f man -m "$from_f" -p "$pofile" -l "$to_f" -k 0 -v >&2
;;
*.en.md)
+ touch "$pofile"
md2po "$from_f" --include-codeblocks --quiet --save --po-filepath "$pofile"
po2md "$from_f" --pofiles "$pofile" --quiet --save "$to_f"
;;