Ignore Project-Id-Version when comparing pot files.
This commit is contained in:
@@ -179,7 +179,7 @@ update-pot:
|
|||||||
*) echo unknown domain $$domain; continue;; \
|
*) echo unknown domain $$domain; continue;; \
|
||||||
esac; \
|
esac; \
|
||||||
$(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \
|
$(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \
|
||||||
if diff -I'^.POT-Creation-Date' -I'^#' $$pot.tmp $$pot >/dev/null; then \
|
if diff -I'^.POT-Creation-Date' -I'^.Project-Id-Version' -I'^#' $$pot.tmp $$pot >/dev/null; then \
|
||||||
rm -f $$pot.tmp; \
|
rm -f $$pot.tmp; \
|
||||||
else \
|
else \
|
||||||
mv -f $$pot.tmp $$pot; \
|
mv -f $$pot.tmp $$pot; \
|
||||||
|
Reference in New Issue
Block a user