Skip to content

Commit

Permalink
scripts/mkmo: switch msgfmt args
Browse files Browse the repository at this point in the history
When POSIXLY_CORRECT is set, msgfmt requires options to be specified before
the po files (as defined in its man).
  • Loading branch information
ralphptorres committed Mar 19, 2024
1 parent 5355012 commit 75dc2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mkmo
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ fi
for po in po/*.po; do
lang=$(basename ${po%.po})
install -dm755 "$1/$lang/LC_MESSAGES/"
msgfmt "$po" -o "$1/$lang/LC_MESSAGES/paru.mo"
msgfmt -o "$1/$lang/LC_MESSAGES/paru.mo" "$po"
done

0 comments on commit 75dc2e4

Please sign in to comment.