From 5dadedb7c36b03e1bd0a4bea0cd9659641ed1148 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 13 Jul 2021 17:33:54 -0300 Subject: aux/workflow/l10n.sh: Touch $pofile before generating it For some reason, sometimes it doesn't generate the file if it doesnt already exist. --- aux/workflow/l10n.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'aux/workflow') 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" ;; -- cgit v1.2.3