1
0
Fork 0

improve pomerge

This commit is contained in:
Vladimír Dudr 2022-05-12 20:00:46 +02:00
parent 608c58de55
commit a872caaf88

View file

@ -11,7 +11,9 @@ pomerge() {
cp -v "$new_po" "$app_po"
return
fi
msgcat --use-first --no-location --no-wrap "$app_po" "$new_po"
tmp="$(mktemp)"
msgcat --use-first --no-location --no-wrap "$app_po" "$new_po" > "$tmp"
mv "$tmp" "$app_po"
}
pocompile() {