mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
Ignore Project-Id-Version when comparing pot files.
This commit is contained in:
parent
5ff23fb854
commit
e04e66137c
@ -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; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user