2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Ignore comments when comparing new and old pot files.

This commit is contained in:
Todd C. Miller 2012-03-15 11:44:35 -04:00
parent 1234d08c98
commit 039c214878

View File

@ -179,7 +179,7 @@ update-pot:
*) echo unknown domain $$domain; continue;; \
esac; \
$(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \
if diff -I'^.POT-Creation-Date' $$pot.tmp $$pot >/dev/null; then \
if diff -I'^.POT-Creation-Date' -I'^#' $$pot.tmp $$pot >/dev/null; then \
rm -f $$pot.tmp; \
else \
mv -f $$pot.tmp $$pot; \