Don't let local msgmerge use fuzzy translations either, don't care about
Translation-Team: changing, and use 'diff' so we actually see the changes
(since more often than not they're false positives, so it eases debugging).
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
echo "*** ERROR: Uncommitted changes in above files"; exit 1; \
else \
for a in po/*.po; do \
- msgmerge -q -F $$a $(abs_builddir)/po/$(PACKAGE).pot | grep -v PO-Revision-Date: > $$a.old ; \
+ msgmerge -q -N -F $$a $(abs_builddir)/po/$(PACKAGE).pot | egrep -v PO-Revision-Date:\|Language-Team: > $$a.old ; \
done && \
tx pull -af && \
for a in po/*.po; do \
- msgmerge -q -F $$a $(abs_builddir)/po/$(PACKAGE).pot | grep -v PO-Revision-Date: > $$a.new ; \
+ msgmerge -q -N -F $$a $(abs_builddir)/po/$(PACKAGE).pot | egrep -v PO-Revision-Date:\|Language-Team: > $$a.new ; \
if ! git ls-tree --name-only HEAD $$a | grep -q $$a; then \
echo New file $$a ; \
git add $$a ; \
- elif ! cmp -s $$a.old $$a.new; then \
+ elif ! diff -u $$a.old $$a.new; then \
echo New changes for $$a; \
mv $$a.new $$a; \
else \